Don't explicitly remove needs-unwind tests

Compiletest now respects panic=abort in the --print cfg output
This commit is contained in:
bjorn3 2023-05-28 11:04:15 +00:00
parent d91fabd44f
commit 62e603527d

View File

@ -11,12 +11,12 @@ pushd rust
command -v rg >/dev/null 2>&1 || cargo install ripgrep
rm -r tests/ui/{unsized-locals/,lto/,linkage*} || true
for test in $(rg --files-with-matches "lto|// needs-asm-support|// needs-unwind" tests/{codegen-units,ui,incremental}); do
for test in $(rg --files-with-matches "lto|// needs-asm-support" tests/{codegen-units,ui,incremental}); do
rm $test
done
for test in tests/run-make/**/Makefile; do
if rg "# needs-asm-support|# needs-unwind" $test >/dev/null; then
if rg "# needs-asm-support" $test >/dev/null; then
rm -r $(dirname $test)
fi
done