Skip to content

Commit 2a2cb32

Browse files
authored
Merge pull request #4731 from wilzbach/use_test_runner_for_coverage
[WIP] Use test_runner for coverage testing
2 parents bb24012 + 116dd31 commit 2a2cb32

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
root = true
22

3-
[*.{c,h,d,di,dd}]
3+
[*.{c,h,d,di,dd,sh}]
44
end_of_line = lf
55
insert_final_newline = true
66
indent_style = space

circleci.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ coverage()
8787
# remove all existing coverage files (just in case)
8888
rm -rf $(find -name '*.lst')
8989

90-
# currently using the test_runner yields wrong code coverage results
91-
# see https://github.com/dlang/phobos/pull/4719 for details
92-
#ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug
90+
# currently using the test_runner yields wrong code coverage results
91+
# see https://github.com/dlang/phobos/pull/4719 for details
92+
ENABLE_COVERAGE="1" make -f posix.mak MODEL=$MODEL unittest-debug
9393

94-
# instead we run all tests individually
95-
make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test/" | grep -vE '(std.algorithm.sorting|std.encoding|net.curl)' )
94+
# instead we run all tests individually
95+
make -f posix.mak $(find std etc -name "*.d" | sed "s/[.]d$/.test/" | grep -vE '(std.algorithm.sorting|std.encoding|net.curl)' )
9696
}
9797

9898
case $1 in

0 commit comments

Comments
 (0)