Skip to content

Commit 62e6035

Browse files
committed
Don't explicitly remove needs-unwind tests
Compiletest now respects panic=abort in the --print cfg output
1 parent d91fabd commit 62e6035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test_rustc_tests.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ pushd rust
1111
command -v rg >/dev/null 2>&1 || cargo install ripgrep
1212

1313
rm -r tests/ui/{unsized-locals/,lto/,linkage*} || true
14-
for test in $(rg --files-with-matches "lto|// needs-asm-support|// needs-unwind" tests/{codegen-units,ui,incremental}); do
14+
for test in $(rg --files-with-matches "lto|// needs-asm-support" tests/{codegen-units,ui,incremental}); do
1515
rm $test
1616
done
1717

1818
for test in tests/run-make/**/Makefile; do
19-
if rg "# needs-asm-support|# needs-unwind" $test >/dev/null; then
19+
if rg "# needs-asm-support" $test >/dev/null; then
2020
rm -r $(dirname $test)
2121
fi
2222
done

0 commit comments

Comments
 (0)