coverage: Migrate tests/run-coverage
into tests/coverage
This commit is contained in:
parent
aea7c27eae
commit
e9d04c5e24
105 changed files with 7 additions and 9 deletions
10
tests/coverage/test_harness.rs
Normal file
10
tests/coverage/test_harness.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Verify that the entry point injected by the test harness doesn't cause
|
||||
// weird artifacts in the coverage report (e.g. issue #10749).
|
||||
|
||||
// compile-flags: --test
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn unused() {}
|
||||
|
||||
#[test]
|
||||
fn my_test() {}
|
Loading…
Add table
Add a link
Reference in a new issue