Skip to content

Commit 7348c5f

Browse files
committed
include ast_checks in code coverage
ast checks are newer, but they both handle parsing as well as validating what was parsed, so they are even superior to regular pass checks. Thus they should also be included in the coverage output.
1 parent 3fbb7b3 commit 7348c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ echo
101101
find . -name "*.lst" -exec rm -f {} \;
102102
echo -en "Generating coverage reports... "
103103
${DMD} tester.d -cov -unittest $SOURCE_FILES $IMPORT_PATHS
104-
./tester --ast --DRT-testmode=run-main $PASS_FILES $FAIL_FILES &> /dev/null || true
104+
./tester --ast --DRT-testmode=run-main $PASS_FILES $FAIL_FILES ast_checks/*.d &> /dev/null || true
105105
rm -rf coverage/
106106
mkdir coverage/
107107
find . -name "*.lst" | while read -r i; do

0 commit comments

Comments
 (0)