@@ -13,7 +13,7 @@ bin_PROGRAMS = dEploid dEploid_dbg
1313man1_MANS = docs/_build/man/dEploid.1
1414
1515TESTS = unit_tests io_unit_tests
16- check_PROGRAMS = unit_tests dEploid_dbg io_unit_tests current_unit_tests # dEploid_prof
16+ check_PROGRAMS = unit_tests_1 unit_tests_2 unit_tests dEploid_dbg io_unit_tests current_unit_tests # dEploid_prof
1717PROG = DEPLOID
1818
1919common_flags = -std=c++17 -Isrc/ -Isrc/codeCogs/ -Isrc/vcf/src/ -DDEPLOIDVERSION=\"${DEPLOIDVERSION}\" -DLASSOVERSION=\"${LASSOVERSION}\" -DCOMPILEDATE=\"${COMPILEDATE}\" -Wall -Wextra
@@ -57,19 +57,29 @@ dEploid_LDADD = $(common_LDADD)
5757dEploid_dbg_LDADD = $(common_LDADD )
5858dEploid_prof_LDADD = $(common_LDADD )
5959
60- unit_tests_SOURCES = $(common_src ) \
60+ unit_tests_1_SOURCES = $(common_src ) \
6161 tests/unittest/test_runner.cpp \
6262 tests/unittest/test_ibd.cpp \
6363 tests/unittest/test_updateSingleHap.cpp \
64- tests/unittest/test_utilities.cpp \
64+ tests/unittest/test_utilities.cpp
65+
66+ unit_tests_2_SOURCES = $(common_src ) \
6567 tests/unittest/test_panel.cpp \
6668 tests/unittest/test_mcmc.cpp \
6769 tests/unittest/test_updatePairHap.cpp \
6870 tests/unittest/test_workflow.cpp
6971
72+ unit_tests_SOURCES = $(unit_tests_1_SOURCES ) $(unit_tests_2_SOURCES )
73+
7074unit_tests_CXXFLAGS = $(common_flags ) -DNDEBUG -DUNITTEST -Wno-write-strings --coverage
7175unit_tests_LDADD = -lcppunit -ldl $(common_LDADD )
7276
77+ unit_tests_1_CXXFLAGS = $(common_flags ) -DNDEBUG -DUNITTEST -Wno-write-strings --coverage
78+ unit_tests_1_LDADD = -lcppunit -ldl $(common_LDADD )
79+
80+ unit_tests_2_CXXFLAGS = $(common_flags ) -DNDEBUG -DUNITTEST -Wno-write-strings --coverage
81+ unit_tests_2_LDADD = -lcppunit -ldl $(common_LDADD )
82+
7383io_unit_tests_SOURCES = $(common_src ) \
7484 tests/unittest/test_runner.cpp \
7585 tests/unittest/test_dEploidIO.cpp
0 commit comments