-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)Area: Source-based code coverage (-Cinstrument-coverage)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
The coverage tests (for -Z instrument-coverage
) are implemented using Makefile
s and embedded shell scripts, which is fragile.
Some cross-platform issues are unavoidable, but there have been some cross-platform issues, due to differences in the shell scripts and external commands (like sed
).
Also, there is a known bug in some versions of make
on MacOS
that corrupts shell scripts during script interpretation.
Some of these issues could be avoided in the future if the test logic was rewritten/ported to Rust as a compiletest
.
Metadata
Metadata
Assignees
Labels
A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)Area: Source-based code coverage (-Cinstrument-coverage)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.