Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add needs-unwind annotations to tests that need stack unwinding #111094

Merged
merged 1 commit into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/incremental/change_crate_dep_kind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
Expand Down
1 change: 1 addition & 0 deletions tests/incremental/issue-80691-bad-eval-cache.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-unwind-abi-catch-lib-panic/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

all: archive
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-unwind-abi-catch-panic/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

all: $(call NATIVE_STATICLIB,add)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/const_fn_mir/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# needs-unwind -Cpanic=abort gives different MIR output
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/debug-assertions/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/foreign-double-unwind/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

all: foo
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/foreign-exceptions/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

all: foo
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/foreign-rust-exceptions/Makefile
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/libtest-json/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

# Test expected libtest's JSON output
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/static-unwinding/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ignore-cross-compile
# needs-unwind
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/test-benches/Makefile
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions tests/ui/test-attrs/test-type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down