mirror of https://github.com/rust-lang/rust.git
Add needs-unwind annotations to tests that need stack unwinding
This commit is contained in:
parent
7b99493492
commit
8a08514dbd
|
@ -2,6 +2,7 @@
|
|||
// detected then -Zincremental-verify-ich will trigger an assertion.
|
||||
|
||||
// ignore-wasm32-bare compiled with panic=abort by default
|
||||
// needs-unwind
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph -Cpanic=unwind
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// revisions: rfail1 rfail2
|
||||
// failure-status: 101
|
||||
// error-pattern: not implemented
|
||||
// needs-unwind -Cpanic=abort causes abort instead of exit(101)
|
||||
|
||||
pub trait Interner {
|
||||
type InternedVariableKinds;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
all: archive
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
all: $(call NATIVE_STATICLIB,add)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# needs-unwind -Cpanic=abort gives different MIR output
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
all: foo
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
all: foo
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# ignore-cross-compile
|
||||
# ignore-i686-pc-windows-gnu
|
||||
# needs-unwind
|
||||
|
||||
# This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder
|
||||
# so cross-DLL unwinding does not work.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
# Test expected libtest's JSON output
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# ignore-cross-compile
|
||||
# needs-unwind
|
||||
include ../tools.mk
|
||||
|
||||
all:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
include ../tools.mk
|
||||
|
||||
# ignore-cross-compile
|
||||
# needs-unwind #[bench] and -Zpanic-abort-tests can't be combined
|
||||
|
||||
all:
|
||||
# Smoke-test that `#[bench]` isn't entirely broken.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// 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