@@ -10,14 +10,6 @@ pushd rust
10
10
11
11
command -v rg > /dev/null 2>&1 || cargo install ripgrep
12
12
13
- # FIXME(rust-lang/rust#122196) fix stage0 rmake.rs run-make tests and remove
14
- # this workaround
15
- for test in $( ls tests/run-make) ; do
16
- if [[ -e " tests/run-make/$test /rmake.rs" ]]; then
17
- rm -r " tests/run-make/$test "
18
- fi
19
- done
20
-
21
13
# FIXME remove this workaround once ICE tests no longer emit an outdated nightly message
22
14
for test in $( rg -i --files-with-matches " //@(\[.*\])? failure-status: 101" tests/ui) ; do
23
15
echo " rm $test "
@@ -42,7 +34,6 @@ rm tests/ui/parser/unclosed-delimiter-in-dep.rs # submodule contains //~ERROR
42
34
# ================
43
35
44
36
# vendor intrinsics
45
- rm tests/ui/simd/array-type.rs # "Index argument for `simd_insert` is not a constant"
46
37
rm tests/ui/asm/x86_64/evex512-implicit-feature.rs # unimplemented AVX512 x86 vendor intrinsic
47
38
48
39
# exotic linkages
@@ -59,12 +50,9 @@ rm -r tests/run-make/c-link-to-rust-va-list-fn # requires callee side vararg sup
59
50
rm -r tests/run-pass-valgrind/unsized-locals
60
51
61
52
# misc unimplemented things
62
- rm tests/ui/intrinsics/intrinsic-nearby.rs # unimplemented nearbyintf32 and nearbyintf64 intrinsics
63
53
rm tests/ui/target-feature/missing-plusminus.rs # error not implemented
64
- rm -r tests/run-make/emit-named-files # requires full --emit support
65
54
rm -r tests/run-make/repr128-dwarf # debuginfo test
66
55
rm -r tests/run-make/split-debuginfo # same
67
- rm -r tests/run-make/symbols-include-type-name # --emit=asm not supported
68
56
rm -r tests/run-make/target-specs # i686 not supported by Cranelift
69
57
rm -r tests/run-make/mismatching-target-triples # same
70
58
rm tests/ui/asm/x86_64/issue-96797.rs # const and sym inline asm operands don't work entirely correctly
@@ -102,42 +90,39 @@ rm tests/ui/abi/stack-protector.rs # requires stack protector support
102
90
rm -r tests/run-make/emit-stack-sizes # requires support for -Z emit-stack-sizes
103
91
rm -r tests/run-make/optimization-remarks-dir # remarks are LLVM specific
104
92
93
+ # requires asm, llvm-ir and/or llvm-bc emit support
94
+ # =============================================
95
+ rm -r tests/run-make/emit-named-files
96
+ rm -r tests/run-make/issue-30063
97
+ rm -r tests/run-make/multiple-emits
98
+ rm -r tests/run-make/output-type-permutations
99
+ rm -r tests/run-make/emit-to-stdout
100
+ rm -r tests/run-make/compressed-debuginfo
101
+ rm -r tests/run-make/symbols-include-type-name
102
+
103
+
105
104
# giving different but possibly correct results
106
105
# =============================================
107
106
rm tests/ui/mir/mir_misc_casts.rs # depends on deduplication of constants
108
107
rm tests/ui/mir/mir_raw_fat_ptr.rs # same
109
108
rm tests/ui/consts/issue-33537.rs # same
110
109
rm tests/ui/consts/const-mut-refs-crate.rs # same
111
110
112
- # rustdoc-clif passes extra args, suppressing the help message when no args are passed
113
- rm -r tests/run-make/issue-88756-default-output
114
-
115
111
# doesn't work due to the way the rustc test suite is invoked.
116
112
# should work when using ./x.py test the way it is intended
117
113
# ============================================================
118
114
rm -r tests/run-make/remap-path-prefix-dwarf # requires llvm-dwarfdump
115
+ rm -r tests/run-make/compiler-builtins # Expects lib/rustlib/src/rust to contains the standard library source
119
116
120
117
# genuine bugs
121
118
# ============
122
119
rm tests/incremental/spike-neg1.rs # errors out for some reason
123
120
rm tests/incremental/spike-neg2.rs # same
124
-
125
- rm -r tests/run-make/issue-51671 # wrong filename given in case of --emit=obj
126
- rm -r tests/run-make/issue-30063 # same
127
- rm -r tests/run-make/multiple-emits # same
128
- rm -r tests/run-make/output-type-permutations # same
129
- rm -r tests/run-make/used # same
130
- rm -r tests/run-make/no-alloc-shim
131
- rm -r tests/run-make/emit-to-stdout
132
- rm -r tests/run-make/compressed-debuginfo
133
-
134
121
rm -r tests/run-make/extern-fn-explicit-align # argument alignment not yet supported
135
-
136
- rm tests/ui/codegen/subtyping-enforces-type-equality.rs # assert_assignable bug with Coroutine's
122
+ rm -r tests/run-make/panic-abort-eh_frame # .eh_frame emitted with panic=abort
137
123
138
124
# bugs in the test suite
139
125
# ======================
140
- rm tests/ui/backtrace.rs # TODO warning
141
126
rm tests/ui/process/nofile-limit.rs # TODO some AArch64 linking issue
142
127
143
128
rm tests/ui/stdio-is-blocking.rs # really slow with unoptimized libstd
@@ -160,6 +145,19 @@ index ea06b620c4c..b969d0009c6 100644
160
145
ifdef RUSTC_LINKER
161
146
RUSTC := \$ (RUSTC) -Clinker='\$ (RUSTC_LINKER)'
162
147
RUSTDOC := \$ (RUSTDOC) -Clinker='\$ (RUSTC_LINKER)'
148
+ diff --git a/src/tools/run-make-support/src/rustdoc.rs b/src/tools/run-make-support/src/rustdoc.rs
149
+ index 9607ff02f96..b7d97caf9a2 100644
150
+ --- a/src/tools/run-make-support/src/rustdoc.rs
151
+ +++ b/src/tools/run-make-support/src/rustdoc.rs
152
+ @@ -34,8 +34,6 @@ pub fn bare() -> Self {
153
+ /// Construct a \` rustdoc\` invocation with \` -L \$ (TARGET_RPATH_DIR)\` set.
154
+ pub fn new() -> Self {
155
+ let mut cmd = setup_common();
156
+ - let target_rpath_dir = env::var_os("TARGET_RPATH_DIR").unwrap();
157
+ - cmd.arg(format!("-L{}", target_rpath_dir.to_string_lossy()));
158
+ Self { cmd }
159
+ }
160
+
163
161
EOF
164
162
165
163
echo " [TEST] rustc test suite"
0 commit comments