Skip to content

Commit e3ff85d

Browse files
committed
(mostly) blindly enable more tests on Windows
1 parent f7f5dbf commit e3ff85d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+47
-81
lines changed

tests/codegen/debug-column.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Verify that debuginfo column numbers are 1-based byte offsets.
22
//
3-
//@ ignore-windows
3+
//@ ignore-msvc
44
//@ compile-flags: -C debuginfo=2
55

66
#[rustfmt::skip]

tests/codegen/force-no-unwind-tables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ compile-flags: -C no-prepopulate-passes -C panic=abort -C force-unwind-tables=n
2-
//@ ignore-windows
2+
//@ ignore-windows: unwind tables are required for panics on Windows
33

44
#![crate_type = "lib"]
55

tests/codegen/thread-local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ compile-flags: -O
22
//@ aux-build:thread_local_aux.rs
3-
//@ ignore-windows FIXME(#84933)
3+
//@ ignore-windows FIXME(#134939)
44
//@ ignore-wasm globals are used instead of thread locals
55
//@ ignore-emscripten globals are used instead of thread locals
66
//@ ignore-android does not use #[thread_local]

tests/crashes/132981.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
//@compile-flags: -Clink-dead-code=true --crate-type lib
33
//@ only-x86_64
44
//@ ignore-windows
5+
// The set of targets this crashes on is really fiddly, because it is deep in our ABI logic. It
6+
// crashes on x86_64-unknown-linux-gnu, and i686-pc-windows-msvc, but not on
7+
// x86_64-pc-windows-msvc. If you are trying to fix this crash, don't pay too much attention to the
8+
// directives.
59

610
#![feature(rust_cold_cc)]
711
pub extern "rust-cold" fn foo(_: [usize; 3]) {}

tests/run-make/naked-symbol-visibility/rmake.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ ignore-windows
21
//@ only-x86_64
32
use run_make_support::object::ObjectSymbol;
43
use run_make_support::object::read::{File, Object, Symbol};

tests/run-make/remap-path-prefix-dwarf/rmake.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
// It tests several cases, each of them has a detailed description attached to it.
55
// See https://github.com/rust-lang/rust/pull/96867
66

7-
//@ ignore-windows
8-
// Reason: the remap path prefix is not printed in the dwarf dump.
9-
107
use run_make_support::{cwd, is_darwin, llvm_dwarfdump, rust_lib_name, rustc};
118

129
fn main() {

tests/run-make/textrel-on-minimal-lib/rmake.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// See https://github.com/rust-lang/rust/issues/68794
77

88
//@ ignore-cross-compile
9-
//@ ignore-windows
10-
// Reason: There is no `bar.dll` produced by CC to run readobj on
119

1210
use run_make_support::{
1311
cc, dynamic_lib_name, extra_c_flags, extra_cxx_flags, llvm_readobj, rustc, static_lib_name,

tests/rustdoc-ui/doctest/failed-doctest-output.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ ignore-windows
21
// There's a parallel version of this test for Windows.
32

43
// Issue #51162: A failed doctest was not printing its stdout/stderr

tests/rustdoc-ui/doctest/failed-doctest-output.stdout

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
running 2 tests
3-
test $DIR/failed-doctest-output.rs - OtherStruct (line 25) ... FAILED
4-
test $DIR/failed-doctest-output.rs - SomeStruct (line 15) ... FAILED
3+
test $DIR/failed-doctest-output.rs - OtherStruct (line 24) ... FAILED
4+
test $DIR/failed-doctest-output.rs - SomeStruct (line 14) ... FAILED
55

66
failures:
77

8-
---- $DIR/failed-doctest-output.rs - OtherStruct (line 25) stdout ----
8+
---- $DIR/failed-doctest-output.rs - OtherStruct (line 24) stdout ----
99
error[E0425]: cannot find value `no` in this scope
10-
--> $DIR/failed-doctest-output.rs:26:1
10+
--> $DIR/failed-doctest-output.rs:25:1
1111
|
1212
LL | no
1313
| ^^ not found in this scope
@@ -16,7 +16,7 @@ error: aborting due to 1 previous error
1616

1717
For more information about this error, try `rustc --explain E0425`.
1818
Couldn't compile the test.
19-
---- $DIR/failed-doctest-output.rs - SomeStruct (line 15) stdout ----
19+
---- $DIR/failed-doctest-output.rs - SomeStruct (line 14) stdout ----
2020
Test executable failed (exit status: 101).
2121

2222
stdout:
@@ -34,8 +34,8 @@ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
3434

3535

3636
failures:
37-
$DIR/failed-doctest-output.rs - OtherStruct (line 25)
38-
$DIR/failed-doctest-output.rs - SomeStruct (line 15)
37+
$DIR/failed-doctest-output.rs - OtherStruct (line 24)
38+
$DIR/failed-doctest-output.rs - SomeStruct (line 14)
3939

4040
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
4141

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
running 1 test
3-
test $DIR/relative-path-include-bytes-132203.rs - (line 18) ... FAILED
3+
test $DIR/relative-path-include-bytes-132203.rs - (line 17) ... FAILED
44

55
failures:
66

7-
---- $DIR/relative-path-include-bytes-132203.rs - (line 18) stdout ----
7+
---- $DIR/relative-path-include-bytes-132203.rs - (line 17) stdout ----
88
error: couldn't read `$DIR/relative-dir-empty-file`: No such file or directory (os error 2)
9-
--> $DIR/relative-path-include-bytes-132203.rs:19:9
9+
--> $DIR/relative-path-include-bytes-132203.rs:18:9
1010
|
1111
LL | let x = include_bytes!("relative-dir-empty-file");
1212
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -18,7 +18,7 @@ error: aborting due to 1 previous error
1818
Couldn't compile the test.
1919

2020
failures:
21-
$DIR/relative-path-include-bytes-132203.rs - (line 18)
21+
$DIR/relative-path-include-bytes-132203.rs - (line 17)
2222

2323
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
2424

0 commit comments

Comments
 (0)