Rollup merge of #135823 - ferrocene:ja-gh135819, r=jieyouxu
make UI tests that use `--test` work on panic=abort targets By passing `-Zpanic_abort_test`. fixes #135819
This commit is contained in:
commit
e4c144b779
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
//@ compile-flags: --test
|
||||
// -Zpanic_abort_tests makes this test work on panic=abort targets and
|
||||
// it's a no-op on panic=unwind targets
|
||||
//@ compile-flags: --test -Zpanic_abort_tests
|
||||
//@ run-pass
|
||||
|
||||
#![feature(core_intrinsics, generic_assert)]
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//@ compile-flags: --test
|
||||
// -Zpanic_abort_tests makes this test work on panic=abort targets and
|
||||
// it's a no-op on panic=unwind targets
|
||||
//@ compile-flags: --test -Zpanic_abort_tests
|
||||
// ignore-tidy-linelength
|
||||
//@ run-pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue