summary refs log tree commit diff
path: root/src/test/ui/panics
AgeCommit message (Collapse)AuthorLines
2021-07-06Add s to non_fmt_panicRyan Levick-3/+3
2021-06-06Update testsuite to match new panic msgReagan McFarland-2/+2
This patch fixes tests from failing that were matching on `Box<Any>`, which was the old panic message. Since the new panic message is `Box<dyn Any>`, the tests have been updated to match against this instead.
2021-05-07panic ui test: Test always_abort on one thread, panic on anotherIan Jackson-1/+20
This test failed on an earlier version of this branch, where this did not work properly, so I know the test works. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2021-05-07panic ui test: Add a test for panic::always_abortIan Jackson-0/+7
Our existing tests are only on Unix. We want a general one too. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2021-05-07panic ui test: Improve error handlingIan Jackson-2/+11
Previoously, if somehow this program got a wrong argument, it would panic in the re-executed child. But that looks like a "success" for this program! We mustn't panic unless everything is great. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2021-05-07panic ui test: Provide comprehensive test for panic after forkIan Jackson-22/+26
This tests that we can indeed safely panic after fork, both a raw libc::fork and in a Command pre_exec hook. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
2021-02-03Allow/fix non_fmt_panic in tests.Mara Bos-1/+5
2021-02-01Add UI test for panic/assert in Rust 2021.Mara Bos-0/+51
2020-11-22Drop support for cloudabi targetsLzu Tao-3/+1
2020-09-21Move panic safety traits testsAlexis Bourget-51/+0
2020-08-07Prevent `__rust_begin_short_backtrace` frames from being tail-call optimised ↵Alan Egerton-0/+23
away
2020-05-08Skip tests on emscriptenYuki Okushi-0/+25
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+271
2019-10-12test unwind(abort) with Rust ABIRalf Jung-0/+64
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+222