Add needs-unwind annotations to tests that need stack unwinding

This commit is contained in:
bjorn3 2023-05-02 10:53:09 +00:00
parent 7b99493492
commit 8a08514dbd
13 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,7 @@
// detected then -Zincremental-verify-ich will trigger an assertion. // detected then -Zincremental-verify-ich will trigger an assertion.
// ignore-wasm32-bare compiled with panic=abort by default // ignore-wasm32-bare compiled with panic=abort by default
// needs-unwind
// revisions:cfail1 cfail2 // revisions:cfail1 cfail2
// compile-flags: -Z query-dep-graph -Cpanic=unwind // compile-flags: -Z query-dep-graph -Cpanic=unwind
// build-pass (FIXME(62277): could be check-pass?) // build-pass (FIXME(62277): could be check-pass?)

View File

@ -1,6 +1,7 @@
// revisions: rfail1 rfail2 // revisions: rfail1 rfail2
// failure-status: 101 // failure-status: 101
// error-pattern: not implemented // error-pattern: not implemented
// needs-unwind -Cpanic=abort causes abort instead of exit(101)
pub trait Interner { pub trait Interner {
type InternedVariableKinds; type InternedVariableKinds;

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
all: archive all: archive

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,add) all: $(call NATIVE_STATICLIB,add)

View File

@ -1,3 +1,4 @@
# needs-unwind -Cpanic=abort gives different MIR output
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
all: foo all: foo

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
all: foo all: foo

View File

@ -1,5 +1,6 @@
# ignore-cross-compile # ignore-cross-compile
# ignore-i686-pc-windows-gnu # ignore-i686-pc-windows-gnu
# needs-unwind
# This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder # This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder
# so cross-DLL unwinding does not work. # so cross-DLL unwinding does not work.

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
# Test expected libtest's JSON output # Test expected libtest's JSON output

View File

@ -1,4 +1,5 @@
# ignore-cross-compile # ignore-cross-compile
# needs-unwind
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,6 +1,7 @@
include ../tools.mk include ../tools.mk
# ignore-cross-compile # ignore-cross-compile
# needs-unwind #[bench] and -Zpanic-abort-tests can't be combined
all: all:
# Smoke-test that `#[bench]` isn't entirely broken. # Smoke-test that `#[bench]` isn't entirely broken.

View File

@ -3,6 +3,7 @@
// 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]