diff --git a/gnucash/import-export/qif-imp/test/CMakeLists.txt b/gnucash/import-export/qif-imp/test/CMakeLists.txt index 9936f7f727..0a70fe023b 100644 --- a/gnucash/import-export/qif-imp/test/CMakeLists.txt +++ b/gnucash/import-export/qif-imp/test/CMakeLists.txt @@ -1,8 +1,4 @@ - -set(QIF_IMP_TEST_INCLUDE_DIRS) -set(QIF_IMP_TEST_LIBS) - set(scm_qifimp_test_with_srfi64_SOURCES test-qif-imp.scm test-qif-parse.scm @@ -16,7 +12,6 @@ set (GUILE_DEPENDS scm-core-utils scm-qif-import ) -gnc_add_test(test-link-qif-imp test-link.c QIF_IMP_TEST_INCLUDE_DIRS QIF_IMP_TEST_LIBS) if (HAVE_SRFI64) gnc_add_scheme_tests("${scm_qifimp_test_with_srfi64_SOURCES}") @@ -28,5 +23,5 @@ if (HAVE_SRFI64) add_dependencies(check scm-qif-import-2 scm-qif-import) endif() -set_dist_list(test_qif_import_DIST CMakeLists.txt test-link.c +set_dist_list(test_qif_import_DIST CMakeLists.txt ${scm_qifimp_test_with_srfi64_SOURCES}) diff --git a/gnucash/import-export/qif-imp/test/test-link.c b/gnucash/import-export/qif-imp/test/test-link.c deleted file mode 100644 index e1c54dcc55..0000000000 --- a/gnucash/import-export/qif-imp/test/test-link.c +++ /dev/null @@ -1,26 +0,0 @@ -/********************************************************************\ - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * - * * -\********************************************************************/ - -int -main(int argc, char ** argv) -{ - return 0; -} - diff --git a/gnucash/import-export/test/CMakeLists.txt b/gnucash/import-export/test/CMakeLists.txt index 2db22cfba7..eab7a7252d 100644 --- a/gnucash/import-export/test/CMakeLists.txt +++ b/gnucash/import-export/test/CMakeLists.txt @@ -15,9 +15,6 @@ set(GENERIC_IMPORT_TEST_LIBS gnc-generic-import gnc-test-engine test-core) gnc_add_test_with_guile(test-import-parse test-import-parse.c GENERIC_IMPORT_TEST_INCLUDE_DIRS GENERIC_IMPORT_TEST_LIBS ) -gnc_add_test(test-link-generic-import test-link.c - GENERIC_IMPORT_TEST_INCLUDE_DIRS GENERIC_IMPORT_TEST_LIBS -) gnc_add_test(test-import-pending-matches test-import-pending-matches.cpp GENERIC_IMPORT_TEST_INCLUDE_DIRS GENERIC_IMPORT_TEST_LIBS ) @@ -38,5 +35,5 @@ gnc_add_test(test-import-account-matcher gtest-import-account-matcher.cpp IMPORT_ACCOUNT_MATCHER_TEST_INCLUDE_DIRS IMPORT_ACCOUNT_MATCHER_TEST_LIBS) set_dist_list(test_generic_import_DIST CMakeLists.txt - test-link.c test-import-parse.c test-import-pending-matches.cpp + test-import-parse.c test-import-pending-matches.cpp gtest-import-account-matcher.cpp) diff --git a/gnucash/import-export/test/test-link.c b/gnucash/import-export/test/test-link.c deleted file mode 100644 index e1c54dcc55..0000000000 --- a/gnucash/import-export/test/test-link.c +++ /dev/null @@ -1,26 +0,0 @@ -/********************************************************************\ - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * - * * -\********************************************************************/ - -int -main(int argc, char ** argv) -{ - return 0; -} - diff --git a/gnucash/register/ledger-core/test/CMakeLists.txt b/gnucash/register/ledger-core/test/CMakeLists.txt index 69a2eade74..5a7a5fdd81 100644 --- a/gnucash/register/ledger-core/test/CMakeLists.txt +++ b/gnucash/register/ledger-core/test/CMakeLists.txt @@ -1,11 +1,4 @@ -set(LEDGER_CORE_TEST_INCLUDE_DIRS "") -set(LEDGER_CORE_TEST_LIBS) - -gnc_add_test(test-link-module-ledger-core test-link-module.c - LEDGER_CORE_TEST_INCLUDE_DIRS LEDGER_CORE_TEST_LIBS -) - set(SPLIT_REG_TEST_SOURCES test-split-register.c utest-split-register-copy-ops.c @@ -30,4 +23,4 @@ gnc_add_test(test-split-register-copy-ops SPLIT_REG_TEST_LIBS ) -set_dist_list(test_ledger_core_DIST CMakeLists.txt test-link-module.c ${SPLIT_REG_TEST_SOURCES}) +set_dist_list(test_ledger_core_DIST CMakeLists.txt ${SPLIT_REG_TEST_SOURCES}) diff --git a/gnucash/register/ledger-core/test/test-link-module.c b/gnucash/register/ledger-core/test/test-link-module.c deleted file mode 100644 index fe944de9fa..0000000000 --- a/gnucash/register/ledger-core/test/test-link-module.c +++ /dev/null @@ -1,27 +0,0 @@ -/********************************************************************\ - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * - * * -\********************************************************************/ - -#include - -int -main(int argc, char ** argv) -{ - exit(0); -} diff --git a/gnucash/register/register-core/CMakeLists.txt b/gnucash/register/register-core/CMakeLists.txt index 64527e9a4f..51fa9110ce 100644 --- a/gnucash/register/register-core/CMakeLists.txt +++ b/gnucash/register/register-core/CMakeLists.txt @@ -1,5 +1,3 @@ -add_subdirectory(test) - set (register_core_SOURCES basiccell.c cell-factory.c diff --git a/gnucash/register/register-core/test/CMakeLists.txt b/gnucash/register/register-core/test/CMakeLists.txt deleted file mode 100644 index bbed19bc38..0000000000 --- a/gnucash/register/register-core/test/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ - -set(REGISTER_CORE_TEST_INCLUDE_DIRS "") -set(REGISTER_CORE_TEST_LIBS) - -gnc_add_test(test-link-module-register-core test-link-module.c - REGISTER_CORE_TEST_INCLUDE_DIRS REGISTER_CORE_TEST_LIBS -) - -set_dist_list(test_register_core_DIST CMakeLists.txt test-link-module.c) \ No newline at end of file diff --git a/gnucash/register/register-core/test/test-link-module.c b/gnucash/register/register-core/test/test-link-module.c deleted file mode 100644 index fe944de9fa..0000000000 --- a/gnucash/register/register-core/test/test-link-module.c +++ /dev/null @@ -1,27 +0,0 @@ -/********************************************************************\ - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * - * * -\********************************************************************/ - -#include - -int -main(int argc, char ** argv) -{ - exit(0); -} diff --git a/gnucash/register/register-gnome/CMakeLists.txt b/gnucash/register/register-gnome/CMakeLists.txt index 80014e019e..14ee2ce0e6 100644 --- a/gnucash/register/register-gnome/CMakeLists.txt +++ b/gnucash/register/register-gnome/CMakeLists.txt @@ -1,4 +1,3 @@ -add_subdirectory(test) include(CheckSymbolExists) set (register_gnome_SOURCES diff --git a/gnucash/register/register-gnome/test/CMakeLists.txt b/gnucash/register/register-gnome/test/CMakeLists.txt deleted file mode 100644 index 8870c26cdc..0000000000 --- a/gnucash/register/register-gnome/test/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ - -set(REGISTER_GNOME_TEST_INCLUDE_DIRS "") -set(REGISTER_GNOME_TEST_LIBS) - -gnc_add_test(test-link-module-register-gnome test-link-module.c - REGISTER_GNOME_TEST_INCLUDE_DIRS REGISTER_GNOME_TEST_LIBS -) - -set_dist_list(test_register_gnome_DIST CMakeLists.txt test-link-module.c) \ No newline at end of file diff --git a/gnucash/register/register-gnome/test/test-link-module.c b/gnucash/register/register-gnome/test/test-link-module.c deleted file mode 100644 index fe944de9fa..0000000000 --- a/gnucash/register/register-gnome/test/test-link-module.c +++ /dev/null @@ -1,27 +0,0 @@ -/********************************************************************\ - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * - * * -\********************************************************************/ - -#include - -int -main(int argc, char ** argv) -{ - exit(0); -} diff --git a/libgnucash/engine/test/CMakeLists.txt b/libgnucash/engine/test/CMakeLists.txt index 08ff72b4f5..8e44172ff6 100644 --- a/libgnucash/engine/test/CMakeLists.txt +++ b/libgnucash/engine/test/CMakeLists.txt @@ -15,13 +15,6 @@ macro(add_engine_test _TARGET _SOURCE_FILES) gnc_add_test(${_TARGET} "${_SOURCE_FILES}" ENGINE_TEST_INCLUDE_DIRS ENGINE_TEST_LIBS) endmacro() -# Not via macro because of unique link requirements - -add_executable(test-link EXCLUDE_FROM_ALL test-link.c) -target_link_libraries(test-link gnc-core-utils) -add_test(NAME test-link COMMAND test-link CONFIGURATIONS Debug;Release) -add_dependencies(check test-link) - ################################################# add_engine_test(test-load-engine test-load-engine.c) @@ -227,7 +220,6 @@ set(test_engine_SOURCES_DIST test-job.c test-kvp-value.cpp test-kvp-frame.cpp - test-link.c test-load-engine.c test-lots.cpp test-numeric.cpp diff --git a/libgnucash/engine/test/test-link.c b/libgnucash/engine/test/test-link.c deleted file mode 100644 index 3945a265ae..0000000000 --- a/libgnucash/engine/test/test-link.c +++ /dev/null @@ -1,25 +0,0 @@ -/********************************************************************\ - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * - * * -\********************************************************************/ - -int -main(int argc, char ** argv) -{ - return 0; -}