@@ -10,12 +10,26 @@ pushd rust
1010
1111command -v rg > /dev/null 2>&1 || cargo install ripgrep
1212
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+ # FIXME remove this workaround once ICE tests no longer emit an outdated nightly message
22+ for test in $( rg -i --files-with-matches " //@(\[.*\])? failure-status: 101" tests/ui) ; do
23+ echo " rm $test "
24+ rm $test
25+ done
26+
1327rm -r tests/ui/{unsized-locals/,lto/,linkage* } || true
1428for test in $( rg --files-with-matches " lto" tests/{codegen-units,ui,incremental}) ; do
1529 rm $test
1630done
1731
18- for test in $( rg -i --files-with-matches " //(\[\w+\])?~[^\|]*\s*ERR|//@ error-pattern:|//@ build-fail|//@ run-fail|-Cllvm-args" tests/ui) ; do
32+ for test in $( rg -i --files-with-matches " //(\[\w+\])?~[^\|]*\s*ERR|//@ error-pattern:|//@(\[.*\])? build-fail|//@(\[.*\])? run-fail|-Cllvm-args" tests/ui) ; do
1933 rm $test
2034done
2135
@@ -107,8 +121,6 @@ rm -r tests/run-make/optimization-remarks-dir # remarks are LLVM specific
107121rm tests/ui/mir/mir_misc_casts.rs # depends on deduplication of constants
108122rm tests/ui/mir/mir_raw_fat_ptr.rs # same
109123rm tests/ui/consts/issue-33537.rs # same
110- rm tests/ui/layout/valid_range_oob.rs # different ICE message
111- rm tests/ui/const-generics/generic_const_exprs/issue-80742.rs # gives error instead of ICE with cg_clif
112124
113125# rustdoc-clif passes extra args, suppressing the help message when no args are passed
114126rm -r tests/run-make/issue-88756-default-output
0 commit comments