Rollup merge of #112616 - ferrocene:pa-more-test-suite-fixes, r=Nilstrieb

Improve tests on targets without unwinding

This PR makes more miscellaneous changes to tests, to make it work on targets without unwinding support.
This commit is contained in:
Matthias Krüger 2023-06-23 19:39:57 +02:00 committed by GitHub
commit ff596144be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -11,7 +11,7 @@
#[naked]
#[no_mangle]
pub unsafe extern "C" fn f() {
// CHECK: define void @f()
// CHECK: define {{(dso_local )?}}void @f()
// CHECK-NEXT: start:
// CHECK-NEXT: call void asm
// CHECK-NEXT: unreachable

View File

@ -1,6 +1,7 @@
// only-aarch64
// run-pass
// needs-asm-support
// needs-unwind
#![feature(asm_unwind)]

View File

@ -3,6 +3,7 @@
// compile-flags: --test -Cpanic=abort -Zpanic-abort-tests=no
// run-flags: --test-threads=1
// needs-unwind
// ignore-wasm no panic or subprocess support
// ignore-emscripten no panic or subprocess support

View File

@ -1,9 +1,8 @@
// compile-flags: --test
// compile-flags: --test -Zpanic-abort-tests
// run-flags: --test-threads=1
// check-run-results
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
// ignore-emscripten no threads support
// needs-unwind
// run-pass
#[test]