mirror of
https://github.com/dlang/phobos.git
synced 2025-04-26 13:10:35 +03:00
Use test_runner for coverage testing
This commit is contained in:
parent
d753c8e377
commit
116dd31064
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
10
circleci.sh
10
circleci.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue