Skip to content

Commit 5e16dec

Browse files
committed
update
1 parent 04f2d46 commit 5e16dec

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2.1"
1+
version: 2.1
22
orbs:
33
coveralls: coveralls/coveralls@2.2.5
44

@@ -124,7 +124,7 @@ jobs:
124124
./tests/test_binaryVcfVsTxt.sh
125125
./tests/test-against-previous-version.sh
126126
./tests/test_binaryReproducible.sh
127-
valgrind --leak-check=full -v --show-leak-kinds=all ./unit_tests
127+
valgrind --leak-check=full -v --show-leak-kinds=all ./unit_tests_1
128128
coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --gcov-options '\-lp'
129129
- coveralls/upload
130130

Makefile.am

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bin_PROGRAMS = dEploid dEploid_dbg
1313
man1_MANS = docs/_build/man/dEploid.1
1414

1515
TESTS = 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
1717
PROG = DEPLOID
1818

1919
common_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)
5757
dEploid_dbg_LDADD = $(common_LDADD)
5858
dEploid_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+
7074
unit_tests_CXXFLAGS = $(common_flags) -DNDEBUG -DUNITTEST -Wno-write-strings --coverage
7175
unit_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+
7383
io_unit_tests_SOURCES = $(common_src) \
7484
tests/unittest/test_runner.cpp \
7585
tests/unittest/test_dEploidIO.cpp

src/vcf

0 commit comments

Comments
 (0)