Both test-panic-abort-nocapture.rs and test-panic-abort.rs assert the stderr output of the test. On Fuchsia, if a test fails an assertion, this output will contain a line noting the process returned the code -1028 (ZX_TASK_RETCODE_EXCEPTION_KILL). But the asserted stderr output lacks this note. Presumably this is because other platforms implement -Cpanic=abort by killing the process instead of returned a status code.
12 lines
407 B
Plaintext
12 lines
407 B
Plaintext
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:35:5:
|
|
assertion `left == right` failed
|
|
left: 2
|
|
right: 4
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
|
thread 'main' panicked at $DIR/test-panic-abort-nocapture.rs:29:5:
|
|
assertion `left == right` failed
|
|
left: 2
|
|
right: 4
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
|
testing321
|