Skip to content

Commit

Permalink
Fix tests for CI environment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
volks73 committed Feb 22, 2021
1 parent 70a423e commit 9b02dd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testsuite/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ fn rustc_with_print_cfg_single_target() {
.with_stdout_contains(
"\
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
Expand Down Expand Up @@ -543,6 +544,7 @@ target_vendor=\"unknown\"
unix
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
Expand Down Expand Up @@ -587,6 +589,7 @@ fn rustc_with_print_cfg_rustflags_env_var() {
.with_stdout_contains(
"\
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
Expand Down Expand Up @@ -640,6 +643,7 @@ rustflags = ["-C", "target-feature=+crt-static"]
.with_stdout_contains(
"\
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
Expand Down

0 comments on commit 9b02dd4

Please sign in to comment.