]> git.lizzy.rs Git - rust.git/commit
panic ui test: Improve error handling
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 22 Apr 2021 14:05:23 +0000 (15:05 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 7 May 2021 10:17:44 +0000 (11:17 +0100)
commit19429ce132d8cc9526ab4fe46d6287f2ad89ef1c
tree606d5f9ceadea41f9b9115ecbea6fac2c7da06e0
parenta17eab7beddf87807d9d7fc71b7dfb90b5e2488a
panic ui test: Improve error handling

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>
src/test/ui/panics/abort-on-panic.rs