Skip to content

Commit 48f664b

Browse files
committed
Ignore test-panic-abort tests on Android
Until #120567 is fixed.
1 parent f622e83 commit 48f664b

4 files changed

+5
-3
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// exec-env:RUST_BACKTRACE=0
77
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
88

9+
// ignore-android #120567
910
// ignore-wasm no panic or subprocess support
1011
// ignore-emscripten no panic or subprocess support
1112
// ignore-sgx no subprocess support

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:33:5:
1+
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:34:5:
22
assertion `left == right` failed
33
left: 2
44
right: 4
55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6-
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:27:5:
6+
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:28:5:
77
assertion `left == right` failed
88
left: 2
99
right: 4

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

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// exec-env:RUST_BACKTRACE=0
77
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
88

9+
// ignore-android #120567
910
// ignore-wasm no panic or subprocess support
1011
// ignore-emscripten no panic or subprocess support
1112
// ignore-sgx no subprocess support

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ hello, world
1717
testing123
1818
---- it_fails stderr ----
1919
testing321
20-
thread 'main' panicked at $DIR/test-panic-abort.rs:38:5:
20+
thread 'main' panicked at $DIR/test-panic-abort.rs:39:5:
2121
assertion `left == right` failed
2222
left: 2
2323
right: 5

0 commit comments

Comments
 (0)