Skip to content

Commit c9b89c6

Browse files
committed
Auto merge of #12199 - ehuss:code_generation, r=weihanglo
Re-enable code_generation test on Windows This re-enables the `code_generation` test on Windows. It was disabled some time ago (see #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.
2 parents 6956c04 + 16ac6fa commit c9b89c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/testsuite/build_script.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,6 @@ fn output_separate_lines_new() {
19261926
.run();
19271927
}
19281928

1929-
#[cfg(not(windows))] // FIXME(#867)
19301929
#[cargo_test]
19311930
fn code_generation() {
19321931
let p = project()
@@ -1976,7 +1975,7 @@ fn code_generation() {
19761975
"\
19771976
[COMPILING] foo v0.5.0 ([CWD])
19781977
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
1979-
[RUNNING] `target/debug/foo`",
1978+
[RUNNING] `target/debug/foo[EXE]`",
19801979
)
19811980
.with_stdout("Hello, World!")
19821981
.run();

0 commit comments

Comments
 (0)