From 67357fee1d6645af303899c25a54998a6479d2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Sat, 25 Jan 2025 22:17:36 +0800 Subject: [PATCH] [DO NOT MERGE] what does CI see --- tests/run-make/translation/rmake.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/run-make/translation/rmake.rs b/tests/run-make/translation/rmake.rs index 79b9c0dd67896..437377ccc87c5 100644 --- a/tests/run-make/translation/rmake.rs +++ b/tests/run-make/translation/rmake.rs @@ -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]