Skip to content

Commit 2d5a0b8

Browse files
committed
Improve test filter
1 parent 21f5f24 commit 2d5a0b8

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,14 @@ rustc = "$HOME/.rustup/toolchains/nightly-$TARGET_TRIPLE/bin/rustc"
6767
EOF
6868

6969
#rm -r src/test/ui/{asm-*,abi*,extern/,panic-runtime/,panics/,unsized-locals/,proc-macro/,threads-sendsync/,thinlto/,simd*,borrowck/,test*,*lto*.rs} || true
70-
#for test in $(rg --files-with-matches "ignore-emscripten|ignore-wasm32|asm!" src/test/ui); do
71-
# rm $test
72-
#done
73-
#rm src/test/ui/confuse-field-and-method/issue-2392.rs || true # Borrowck error difference
74-
#rm src/test/ui/span/borrowck-call-is-borrow-issue-12224.rs || true # ^
70+
for test in $(rg --files-with-matches "asm!|catch_unwind|should_panic|thread" src/test/ui); do
71+
rm $test
72+
done
7573
#rm src/test/ui/consts/const-size_of-cycle.rs || true # Error file path difference
7674
#rm src/test/ui/impl-trait/impl-generic-mismatch.rs || true # ^
7775
#rm src/test/ui/type_length_limit.rs || true
7876
#rm src/test/ui/huge-{array,array-simple-64,enum,struct}.rs || true # cg_clif doesn't provide a span for type is too big for arch
7977
#rm src/test/ui/issues/issue-15919-64.rs || true # ^
80-
#rm src/test/ui/issues/issue-23458.rs || true # Inline asm
81-
#rm src/test/ui/lint/lint-ctypes-enum.rs || true # NonZeroU128 patched away
8278
#rm src/test/ui/issues/issue-50993.rs || true # Target `thumbv7em-none-eabihf` is not supported
8379
#rm src/test/ui/linkage-attr/linkage3.rs || true # Different error
8480
#rm src/test/ui/macros/same-sequence-span.rs || true # Proc macro .rustc section not found?

0 commit comments

Comments
 (0)