forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore
unused_mod.rs
file in code coverage results
As discussed in rust-lang#92142 (comment), tests that contain multiple files order their results differently on Windows and Linux which the test runner currently can't handle correctly. For now, ignore the "bin" part of the test and only include the unused library dependency which is what the test really cares about anyway.
- Loading branch information
1 parent
ebc0d0d
commit e9cac4c
Showing
2 changed files
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.unused_mod.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
../coverage/lib/unused_mod_helper.rs: | ||
1| 0|pub fn never_called_function() { | ||
2| 0| println!("I am never called"); | ||
3| 0|} | ||
|
||
../coverage/unused_mod.rs: | ||
1| |#[path = "lib/unused_mod_helper.rs"] | ||
2| |mod unused_module; | ||
3| | | ||
4| 1|fn main() { | ||
5| 1| println!("hello world!"); | ||
6| 1|} | ||
|