diff options
| author | bors <bors@rust-lang.org> | 2024-04-01 16:16:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-01 16:16:16 +0000 |
| commit | 41e814a554e4eb2dcd65024bf7e43ffdbe504087 (patch) | |
| tree | 85d87407d80e5d26c6c510dbe1dee91f3b40b709 /tests | |
| parent | c2681f2338c2fbeaeb87cda1c19bc7e9cd95f2f4 (diff) | |
| parent | 24d20b4eae2646e79a7aba6a691ef39127431882 (diff) | |
| download | rust-41e814a554e4eb2dcd65024bf7e43ffdbe504087.tar.gz rust-41e814a554e4eb2dcd65024bf7e43ffdbe504087.zip | |
Auto merge of #12605 - xFrednet:00000-ignore-ice, r=y21
Ignore `rustc-ice-` files When ui-test detects a crash, it writes it into a `rustc-ice-*` file. I find it a bit annoying that git always want's to add them. So this just adds these files to our `.gitignore` :D --- changelog: none
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compile-test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs index a0c8bf9334c..32a31f5e082 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -146,6 +146,8 @@ fn base_config(test_dir: &str) -> (Config, Args) { ); config.program.args.extend(EXTERN_FLAGS.iter().map(OsString::from)); + // Prevent rustc from creating `rustc-ice-*` files the console output is enough. + config.program.envs.push(("RUSTC_ICE".into(), Some("0".into()))); if let Some(host_libs) = option_env!("HOST_LIBS") { let dep = format!("-Ldependency={}", Path::new(host_libs).join("deps").display()); |
