Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f74fbd

Browse files
committedJan 6, 2021
handle generic trait methods in coverage tests
make the generic function pattern more specific and remove the extra $ that failes the matching
1 parent 8fec6c7 commit 3f74fbd

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make-fulldeps/coverage-reports

1 file changed

+1
-1
lines changed
 

‎src/test/run-make-fulldeps/coverage-reports/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ else
172172
# files are redundant, so there is no need to generate `expected_*.json` files or
173173
# compare actual JSON results.)
174174

175-
$(DIFF) --ignore-matching-lines='::<.*>.*:$$' \
175+
$(DIFF) --ignore-matching-lines='^ | .*::<.*>.*:$' --ignore-matching-lines='^ | <.*>::.*:$' \
176176
expected_show_coverage.$@.txt "$(TMPDIR)"/actual_show_coverage.$@.txt || \
177177
( grep -q '^\/\/ ignore-llvm-cov-show-diffs' $(SOURCEDIR)/$@.rs && \
178178
>&2 echo 'diff failed, but suppressed with `// ignore-llvm-cov-show-diffs` in $(SOURCEDIR)/$@.rs' \

0 commit comments

Comments
 (0)
Please sign in to comment.