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:
commit
ff596144be
@ -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
|
||||
|
@ -1,6 +1,7 @@
|
||||
// only-aarch64
|
||||
// run-pass
|
||||
// needs-asm-support
|
||||
// needs-unwind
|
||||
|
||||
#![feature(asm_unwind)]
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user