Skip to content

Commit

Permalink
Rollup merge of rust-lang#80761 - andjo403:generic_coverage, r=wesley…
Browse files Browse the repository at this point in the history
…wiser

handle generic trait methods in coverage-report tests

also make the generic function pattern more specific and remove the extra $ that fails the matching.

r? `@wesleywiser`
as this was failing the test of rust-lang#76896
  • Loading branch information
Dylan-DPC committed Jan 7, 2021
2 parents 9558447 + 3f74fbd commit 38ccca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-make-fulldeps/coverage-reports/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ else
# files are redundant, so there is no need to generate `expected_*.json` files or
# compare actual JSON results.)

$(DIFF) --ignore-matching-lines='::<.*>.*:$$' \
$(DIFF) --ignore-matching-lines='^ | .*::<.*>.*:$' --ignore-matching-lines='^ | <.*>::.*:$' \
[email protected] "$(TMPDIR)"/[email protected] || \
( grep -q '^\/\/ ignore-llvm-cov-show-diffs' $(SOURCEDIR)/[email protected] && \
>&2 echo 'diff failed, but suppressed with `// ignore-llvm-cov-show-diffs` in $(SOURCEDIR)/[email protected]' \
Expand Down

0 comments on commit 38ccca7

Please sign in to comment.