about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-05-28 11:04:15 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-05-28 11:04:15 +0000
commit62e603527d8fd16695c5a3958e4aaab925104fdb (patch)
treef22f1963bdaffcf24fb50c3e78c829343860fa9d
parentd91fabd44f61db4895921dee055d792b5a1e032f (diff)
downloadrust-62e603527d8fd16695c5a3958e4aaab925104fdb.tar.gz
rust-62e603527d8fd16695c5a3958e4aaab925104fdb.zip
Don't explicitly remove needs-unwind tests
Compiletest now respects panic=abort in the --print cfg output
-rwxr-xr-xscripts/test_rustc_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh
index db304332a9d..1b69be43086 100755
--- a/scripts/test_rustc_tests.sh
+++ b/scripts/test_rustc_tests.sh
@@ -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