Skip to content

Commit

Permalink
[DO NOT MERGE] what does CI see
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Jan 25, 2025
1 parent 6178df6 commit 67357fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/run-make/translation/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,16 @@ fn broken_primary_bundle_prefers_fallback_bundle() {
// `broken.ftl`, even though the original intention seems to be that it should gracefully
// failover to the fallback bundle.

rustc()
let outcome = rustc()
.env("RUSTC_ICE", "0") // disable ICE dump file, not needed
.input("test.rs")
.arg("-Ztranslate-additional-ftl=broken.ftl")
.run_fail()
.assert_exit_code(101);
.run_unchecked();

eprintln!("stdout: {:#?}", outcome.stdout_utf8());
eprintln!("stderr: {:#?}", outcome.stderr_utf8());

outcome.assert_exit_code(101);
}

#[track_caller]
Expand Down

0 comments on commit 67357fe

Please sign in to comment.