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.
Rollup merge of rust-lang#63825 - nathanwhit:check-run-results, r=Mar…
…k-Simulacrum Allow checking of run-pass execution output in compiletest Closes rust-lang#63751 Adds a `check-run-results` flag to compiletest headers, which if enabled checks the output of the execution of a run-pass test's binary against expected output.
- Loading branch information
Showing
5 changed files
with
102 additions
and
105 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
28 changes: 28 additions & 0 deletions
28
src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.run.stderr
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[$DIR/dbg-macro-expected-behavior.rs:20] Unit = Unit | ||
[$DIR/dbg-macro-expected-behavior.rs:21] a = Unit | ||
[$DIR/dbg-macro-expected-behavior.rs:27] Point{x: 42, y: 24,} = Point { | ||
x: 42, | ||
y: 24, | ||
} | ||
[$DIR/dbg-macro-expected-behavior.rs:28] b = Point { | ||
x: 42, | ||
y: 24, | ||
} | ||
[$DIR/dbg-macro-expected-behavior.rs:36] | ||
[$DIR/dbg-macro-expected-behavior.rs:40] &a = NoCopy( | ||
1337, | ||
) | ||
[$DIR/dbg-macro-expected-behavior.rs:40] dbg!(& a) = NoCopy( | ||
1337, | ||
) | ||
[$DIR/dbg-macro-expected-behavior.rs:45] f(&42) = 42 | ||
before | ||
[$DIR/dbg-macro-expected-behavior.rs:50] { foo += 1; eprintln!("before"); 7331 } = 7331 | ||
[$DIR/dbg-macro-expected-behavior.rs:58] ("Yeah",) = ( | ||
"Yeah", | ||
) | ||
[$DIR/dbg-macro-expected-behavior.rs:61] 1 = 1 | ||
[$DIR/dbg-macro-expected-behavior.rs:61] 2 = 2 | ||
[$DIR/dbg-macro-expected-behavior.rs:65] 1u8 = 1 | ||
[$DIR/dbg-macro-expected-behavior.rs:65] 2u32 = 2 | ||
[$DIR/dbg-macro-expected-behavior.rs:65] "Yeah" = "Yeah" |
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
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
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