Skip to content

Commit 9b02dd4

Browse files
committed
Fix tests for CI environment
The `panic="unwind"` appears in the output for the CI tests, but not in my local tests. I need to investigate the origin of this configuration but it causes the CI builds to fail.
1 parent 70a423e commit 9b02dd4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testsuite/rustc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ fn rustc_with_print_cfg_single_target() {
471471
.with_stdout_contains(
472472
"\
473473
debug_assertions
474+
panic=\"unwind\"
474475
target_arch=\"x86_64\"
475476
target_endian=\"little\"
476477
target_env=\"msvc\"
@@ -543,6 +544,7 @@ target_vendor=\"unknown\"
543544
unix
544545
545546
debug_assertions
547+
panic=\"unwind\"
546548
target_arch=\"x86_64\"
547549
target_endian=\"little\"
548550
target_env=\"msvc\"
@@ -587,6 +589,7 @@ fn rustc_with_print_cfg_rustflags_env_var() {
587589
.with_stdout_contains(
588590
"\
589591
debug_assertions
592+
panic=\"unwind\"
590593
target_arch=\"x86_64\"
591594
target_endian=\"little\"
592595
target_env=\"msvc\"
@@ -640,6 +643,7 @@ rustflags = ["-C", "target-feature=+crt-static"]
640643
.with_stdout_contains(
641644
"\
642645
debug_assertions
646+
panic=\"unwind\"
643647
target_arch=\"x86_64\"
644648
target_endian=\"little\"
645649
target_env=\"msvc\"

0 commit comments

Comments
 (0)