Use test_runner for coverage testing

This commit is contained in:
Sebastian Wilzbach 2016-08-14 15:11:02 +02:00
parent d753c8e377
commit 116dd31064
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
root = true root = true
[*.{c,h,d,di,dd}] [*.{c,h,d,di,dd,sh}]
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
indent_style = space indent_style = space

View file

@ -89,7 +89,7 @@ coverage()
# currently using the test_runner yields wrong code coverage results # currently using the test_runner yields wrong code coverage results
# see https://github.com/dlang/phobos/pull/4719 for details # see https://github.com/dlang/phobos/pull/4719 for details
#ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug
# instead we run all tests individually # instead we run all tests individually
make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test/" | grep -vE '(std.algorithm.sorting|std.encoding|net.curl)' ) make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test/" | grep -vE '(std.algorithm.sorting|std.encoding|net.curl)' )