Skip to content

Commit 2334155

Browse files
committed
[DO NOT MERGE] Revert "tests: remove redundant //@ ignore-{wasm,wasm32,emscripten}"
This reverts commit f944790.
1 parent f944790 commit 2334155

11 files changed

+19
-9
lines changed

tests/ui/lifetimes/tail-expr-lock-poisoning.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
//@ revisions: edition2021 edition2024
2+
//@ ignore-wasm no panic support
3+
//@ needs-subprocess
24
//@ [edition2024] edition: 2024
35
//@ run-pass
46
//@ needs-unwind
5-
//@ needs-subprocess
67

78
use std::sync::Mutex;
89

tests/ui/panics/issue-47429-short-backtraces.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
//@ ignore-msvc see #62897 and `backtrace-debuginfo.rs` test
1818
//@ ignore-android FIXME #17520
1919
//@ ignore-openbsd no support for libbacktrace without filename
20+
//@ ignore-wasm no panic support
21+
//@ ignore-emscripten no panic support
2022
//@ ignore-fuchsia Backtraces not symbolized
21-
//@ needs-unwind
2223
//@ needs-subprocess
2324

2425
fn main() {

tests/ui/panics/issue-47429-short-backtraces.run.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
thread 'main' panicked at $DIR/issue-47429-short-backtraces.rs:25:5:
2+
thread 'main' panicked at $DIR/issue-47429-short-backtraces.rs:26:5:
33
explicit panic
44
stack backtrace:
55
0: std::panicking::begin_panic

tests/ui/panics/runtime-switch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
//@ ignore-android FIXME #17520
1919
//@ ignore-openbsd no support for libbacktrace without filename
2020
//@ ignore-wasm no backtrace support
21+
//@ ignore-emscripten no panic support
2122
//@ ignore-fuchsia Backtrace not symbolized
22-
//@ needs-unwind
2323
//@ needs-subprocess
2424

2525
#![feature(panic_backtrace_config)]

tests/ui/panics/short-ice-remove-middle-frames-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
//@ check-run-results
44
//@ exec-env:RUST_BACKTRACE=1
55
//@ needs-unwind
6-
//@ needs-subprocess
76
//@ ignore-android FIXME #17520
87
//@ ignore-openbsd no support for libbacktrace without filename
8+
//@ ignore-emscripten no panic
99
//@ ignore-sgx Backtraces not symbolized
1010
//@ ignore-fuchsia Backtraces not symbolized
1111
//@ ignore-msvc the `__rust_{begin,end}_short_backtrace` symbols aren't reliable.

tests/ui/panics/short-ice-remove-middle-frames.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
//@ check-run-results
44
//@ exec-env:RUST_BACKTRACE=1
55
//@ needs-unwind
6-
//@ needs-subprocess
76
//@ ignore-android FIXME #17520
87
//@ ignore-openbsd no support for libbacktrace without filename
8+
//@ ignore-emscripten no panic
99
//@ ignore-sgx Backtraces not symbolized
1010
//@ ignore-fuchsia Backtraces not symbolized
1111
//@ ignore-msvc the `__rust_{begin,end}_short_backtrace` symbols aren't reliable.

tests/ui/test-attrs/test-panic-abort-disabled.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
//@ no-prefer-dynamic
33
//@ compile-flags: --test -Cpanic=abort -Zpanic-abort-tests=no
44
//@ run-flags: --test-threads=1
5+
6+
//@ needs-unwind
7+
//@ ignore-wasm no panic support
8+
//@ ignore-emscripten no panic support
59
//@ needs-subprocess
610

711
#![cfg(test)]

tests/ui/test-attrs/test-panic-abort-nocapture.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
88

99
//@ ignore-android #120567
10+
//@ ignore-wasm no panic support
11+
//@ ignore-emscripten no panic support
1012
//@ needs-subprocess
1113

1214
#![cfg(test)]

tests/ui/test-attrs/test-panic-abort-nocapture.run.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

2-
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:32:5:
2+
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:34:5:
33
assertion `left == right` failed
44
left: 2
55
right: 4
66
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
77

8-
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:26:5:
8+
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:28:5:
99
assertion `left == right` failed
1010
left: 2
1111
right: 4

tests/ui/test-attrs/test-panic-abort.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
88

99
//@ ignore-android #120567
10+
//@ ignore-wasm no panic support
11+
//@ ignore-emscripten no panic support
1012
//@ needs-subprocess
1113

1214
#![cfg(test)]

tests/ui/test-attrs/test-panic-abort.run.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ testing123
1818
---- it_fails stderr ----
1919
testing321
2020

21-
thread 'main' panicked at $DIR/test-panic-abort.rs:37:5:
21+
thread 'main' panicked at $DIR/test-panic-abort.rs:39:5:
2222
assertion `left == right` failed
2323
left: 2
2424
right: 5

0 commit comments

Comments
 (0)