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]
|
#[naked]
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub unsafe extern "C" fn f() {
|
pub unsafe extern "C" fn f() {
|
||||||
// CHECK: define void @f()
|
// CHECK: define {{(dso_local )?}}void @f()
|
||||||
// CHECK-NEXT: start:
|
// CHECK-NEXT: start:
|
||||||
// CHECK-NEXT: call void asm
|
// CHECK-NEXT: call void asm
|
||||||
// CHECK-NEXT: unreachable
|
// CHECK-NEXT: unreachable
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// only-aarch64
|
// only-aarch64
|
||||||
// run-pass
|
// run-pass
|
||||||
// needs-asm-support
|
// needs-asm-support
|
||||||
|
// needs-unwind
|
||||||
|
|
||||||
#![feature(asm_unwind)]
|
#![feature(asm_unwind)]
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// compile-flags: --test -Cpanic=abort -Zpanic-abort-tests=no
|
// compile-flags: --test -Cpanic=abort -Zpanic-abort-tests=no
|
||||||
// run-flags: --test-threads=1
|
// run-flags: --test-threads=1
|
||||||
|
|
||||||
|
// needs-unwind
|
||||||
// ignore-wasm no panic or subprocess support
|
// ignore-wasm no panic or subprocess support
|
||||||
// ignore-emscripten 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
|
// run-flags: --test-threads=1
|
||||||
// check-run-results
|
// check-run-results
|
||||||
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
||||||
// ignore-emscripten no threads support
|
// ignore-emscripten no threads support
|
||||||
// needs-unwind
|
|
||||||
// run-pass
|
// run-pass
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user