Skip to content

Commit

Permalink
Auto merge of #12199 - ehuss:code_generation, r=weihanglo
Browse files Browse the repository at this point in the history
Re-enable code_generation test on Windows

This re-enables the `code_generation` test on Windows. It was disabled some time ago (see rust-lang/cargo#867), but I don't think whatever issue was hitting it is relevant now. There isn't anything unusual about this test, so I think it should be fine. I was unable to get it to fail after running a few thousand times, and also testing on CI.
  • Loading branch information
bors committed May 29, 2023
2 parents 6956c04 + 16ac6fa commit c9b89c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testsuite/build_script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,6 @@ fn output_separate_lines_new() {
.run();
}

#[cfg(not(windows))] // FIXME(#867)
#[cargo_test]
fn code_generation() {
let p = project()
Expand Down Expand Up @@ -1976,7 +1975,7 @@ fn code_generation() {
"\
[COMPILING] foo v0.5.0 ([CWD])
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
[RUNNING] `target/debug/foo`",
[RUNNING] `target/debug/foo[EXE]`",
)
.with_stdout("Hello, World!")
.run();
Expand Down

0 comments on commit c9b89c6

Please sign in to comment.