Skip to content

Commit

Permalink
Use test_runner for coverage testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Aug 14, 2016
1 parent d753c8e commit 116dd31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions circleci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 116dd31

Please sign in to comment.