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
[*.{c,h,d,di,dd}]
[*.{c,h,d,di,dd,sh}]
end_of_line = lf
insert_final_newline = true
indent_style = space

View file

@ -87,12 +87,12 @@ coverage()
# remove all existing coverage files (just in case)
rm -rf $(find -name '*.lst')
# currently using the test_runner yields wrong code coverage results
# see https://github.com/dlang/phobos/pull/4719 for details
#ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug
# currently using the test_runner yields wrong code coverage results
# see https://github.com/dlang/phobos/pull/4719 for details
ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug
# 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)' )
# 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)' )
}
case $1 in