Skip to content

Commit 8a1c227

Browse files
committed
Auto merge of rust-lang#134777 - saethlin:enable-more-tests-on-windows, r=<try>
(mostly) blindly enable more tests on Windows r? ghost try-job: x86_64-msvc try-job: i686-msvc
2 parents a25032c + 74bb9cc commit 8a1c227

File tree

65 files changed

+32
-97
lines changed

Some content is hidden

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

65 files changed

+32
-97
lines changed

tests/codegen/debug-column.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Verify that debuginfo column numbers are 1-based byte offsets.
22
//
3-
//@ ignore-windows
43
//@ compile-flags: -C debuginfo=2
54

65
#[rustfmt::skip]
@@ -14,8 +13,8 @@ fn main() {
1413
// CHECK: call void @turtle(){{( #[0-9]+)?}}, !dbg [[B:!.*]]
1514
/* ż */ turtle();
1615

17-
// CHECK: [[A]] = !DILocation(line: 11, column: 9,
18-
// CHECK: [[B]] = !DILocation(line: 15, column: 10,
16+
// CHECK: [[A]] = !DILocation(line: 10, column: 9,
17+
// CHECK: [[B]] = !DILocation(line: 14, column: 10,
1918
}
2019
}
2120

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

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//@ compile-flags: -C no-prepopulate-passes -C panic=abort -C force-unwind-tables=n
2-
//@ ignore-windows
32

43
#![crate_type = "lib"]
54

tests/codegen/gdb_debug_script_load.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//
21
//@ ignore-windows
32
//@ ignore-apple
43
//@ ignore-wasm

tests/codegen/remap_path_prefix/issue-73167-remap-std.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//@ ignore-windows
2-
31
//@ compile-flags: -g -C no-prepopulate-passes -Z simulate-remapped-rust-src-base=/rustc/xyz
42

53
// Here we check that importing std will not cause real path to std source files

tests/codegen/remap_path_prefix/main.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//@ ignore-windows
2-
//
3-
41
//@ compile-flags: -g -C no-prepopulate-passes --remap-path-prefix={{cwd}}=/the/cwd --remap-path-prefix={{src-base}}=/the/src -Zinline-mir=no
52
//@ aux-build:remap_path_prefix_aux.rs
63

tests/codegen/remap_path_prefix/xcrate-generic.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ ignore-windows
21
//@ compile-flags: -g -C metadata=foo -C no-prepopulate-passes
32
//@ aux-build:xcrate-generic.rs
43

tests/codegen/thread-local.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ compile-flags: -O
22
//@ aux-build:thread_local_aux.rs
3-
//@ ignore-windows FIXME(#84933)
43
//@ ignore-wasm globals are used instead of thread locals
54
//@ ignore-emscripten globals are used instead of thread locals
65
//@ ignore-android does not use #[thread_local]

tests/crashes/132981.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@ known-bug: #132981
22
//@compile-flags: -Clink-dead-code=true --crate-type lib
33
//@ only-x86_64
4-
//@ ignore-windows
54

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

tests/incremental/issue-54059.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//@ proc-macro: issue-54059.rs
2-
//@ ignore-windows - dealing with weird symbols issues on dylibs isn't worth it
32
//@ revisions: rpass1
43

54
extern crate issue_54059;

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

-1
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

-3
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

-2
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

-1
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/relative-path-include-bytes-132203.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ ignore-windows
21
//@ revisions: edition2015 edition2024
32
//@[edition2015]edition:2015
43
//@[edition2015]check-fail

tests/ui-fulldeps/stable-mir/check_abi.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87

98
#![feature(rustc_private)]
109
#![feature(assert_matches)]

tests/ui-fulldeps/stable-mir/check_allocation.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//@ ignore-stage1
66
//@ ignore-cross-compile
77
//@ ignore-remote
8-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
98
//@ edition: 2021
109

1110
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_attribute.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87

98
#![feature(rustc_private)]
109

tests/ui-fulldeps/stable-mir/check_binop.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87

98
#![feature(rustc_private)]
109

tests/ui-fulldeps/stable-mir/check_crate_defs.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87

98
#![feature(rustc_private)]
109
#![feature(assert_matches)]

tests/ui-fulldeps/stable-mir/check_def_ty.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//@ ignore-stage1
66
//@ ignore-cross-compile
77
//@ ignore-remote
8-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
98
//@ edition: 2021
109

1110
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_defs.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_foreign.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_instance.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_intrinsics.rs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//@ ignore-stage1
99
//@ ignore-cross-compile
1010
//@ ignore-remote
11-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
1211

1312
#![feature(rustc_private)]
1413
#![feature(assert_matches)]

tests/ui-fulldeps/stable-mir/check_item_kind.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_normalization.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_trait_queries.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/check_transform.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87

98
#![feature(rustc_private)]
109
#![feature(assert_matches)]

tests/ui-fulldeps/stable-mir/check_ty_fold.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//@ ignore-stage1
66
//@ ignore-cross-compile
77
//@ ignore-remote
8-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
98
//@ edition: 2021
109

1110
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/compilation-result.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/crate-info.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/projections.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/smir_internal.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//@ ignore-stage1
66
//@ ignore-cross-compile
77
//@ ignore-remote
8-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
98
//@ edition: 2021
109

1110
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/smir_serde.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui-fulldeps/stable-mir/smir_visitor.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//@ ignore-stage1
55
//@ ignore-cross-compile
66
//@ ignore-remote
7-
//@ ignore-windows-gnu mingw has troubles with linking https://github.com/rust-lang/rust/pull/116837
87
//@ edition: 2021
98

109
#![feature(rustc_private)]

tests/ui/abi/abi-sysv64-arg-passing.rs

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
//@ ignore-android
2828
//@ ignore-arm
2929
//@ ignore-aarch64
30-
//@ ignore-windows
31-
32-
// note: windows is ignored as rust_test_helpers does not have the sysv64 abi on windows
3330

3431
#[allow(dead_code)]
3532
#[allow(improper_ctypes)]

tests/ui/abi/large-byval-align.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ compile-flags: -Copt-level=0
22
//@ only-x86_64
3-
//@ ignore-windows
43
//@ min-llvm-version: 19
54
//@ build-pass
65

tests/ui/codemap_tests/huge_multispan_highlight.ascii.svg

+3-3

tests/ui/codemap_tests/huge_multispan_highlight.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//@ compile-flags: --color=always
33
//@[ascii] compile-flags: --error-format=human
44
//@[unicode] compile-flags: -Zunstable-options --error-format=human-unicode
5-
//@ ignore-windows
65
fn main() {
76
let _ = match true {
87
true => (

tests/ui/codemap_tests/huge_multispan_highlight.unicode.svg

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
//@ check-pass
2-
//@ ignore-windows
32
//@ compile-flags: -Cremark=foo --error-format=human --color=always
43
fn main() {}

tests/ui/feature-gates/feature-gate-cfg-target-thread-local.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ ignore-windows
21
//@ aux-build:cfg-target-thread-local.rs
32

43
#![feature(thread_local)]

tests/ui/feature-gates/feature-gate-cfg-target-thread-local.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0658]: `cfg(target_thread_local)` is experimental and subject to change
2-
--> $DIR/feature-gate-cfg-target-thread-local.rs:9:16
2+
--> $DIR/feature-gate-cfg-target-thread-local.rs:8:16
33
|
44
LL | #[cfg_attr(target_thread_local, thread_local)]
55
| ^^^^^^^^^^^^^^^^^^^
@@ -9,7 +9,7 @@ LL | #[cfg_attr(target_thread_local, thread_local)]
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

1111
error[E0133]: use of extern static is unsafe and requires unsafe function or block
12-
--> $DIR/feature-gate-cfg-target-thread-local.rs:15:16
12+
--> $DIR/feature-gate-cfg-target-thread-local.rs:14:16
1313
|
1414
LL | assert_eq!(FOO, 3);
1515
| ^^^ use of extern static

tests/ui/inference/issue-71584.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//@ ignore-windows different list of satisfying impls
21
fn main() {
32
let n: u32 = 1;
43
let mut d: u64 = 2;

tests/ui/inference/issue-71584.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0284]: type annotations needed
2-
--> $DIR/issue-71584.rs:5:15
2+
--> $DIR/issue-71584.rs:4:15
33
|
44
LL | d = d % n.into();
55
| - ^^^^

tests/ui/link-native-libs/issue-70093/issue-70093-link-directives.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ run-pass
22
//@ compile-flags: -Zlink-directives=no
3-
//@ ignore-windows - this will probably only work on unixish systems
43
//@ ignore-fuchsia - missing __libc_start_main for some reason (#84733)
54
//@ ignore-cross-compile - default-linker-libraries=yes doesn't play well with cross compiling
65

tests/ui/link-native-libs/issue-70093/issue-70093.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ run-pass
22
//@ compile-flags: -Zlink-native-libraries=no -Cdefault-linker-libraries=yes
3-
//@ ignore-windows - this will probably only work on unixish systems
43
//@ ignore-fuchsia - missing __libc_start_main for some reason (#84733)
54
//@ ignore-cross-compile - default-linker-libraries=yes doesn't play well with cross compiling
65

0 commit comments

Comments
 (0)