about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-06-11 13:47:34 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-06-11 13:47:34 +0000
commitee188cabc298e9aff8e81f096b9e33830a0f9afb (patch)
treedb92da4ebc9d62e913dea437e9593436f71642f2 /scripts
parentc06cbc8dbe87e6824e8c7b2e5714756abec7f89f (diff)
downloadrust-ee188cabc298e9aff8e81f096b9e33830a0f9afb.tar.gz
rust-ee188cabc298e9aff8e81f096b9e33830a0f9afb.zip
Fix rustc test suite
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_rustc_tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh
index 6c45a4ccf79..fce46459cac 100755
--- a/scripts/test_rustc_tests.sh
+++ b/scripts/test_rustc_tests.sh
@@ -102,7 +102,7 @@ rm -r tests/run-make/output-type-permutations
 rm -r tests/run-make/emit-to-stdout
 rm -r tests/run-make/compressed-debuginfo
 rm -r tests/run-make/symbols-include-type-name
-
+rm -r tests/run-make/notify-all-emit-artifacts
 
 # giving different but possibly correct results
 # =============================================
@@ -154,9 +154,9 @@ index 9607ff02f96..b7d97caf9a2 100644
      /// Construct a \`rustdoc\` invocation with \`-L \$(TARGET_RPATH_DIR)\` set.
      pub fn new() -> Self {
          let mut cmd = setup_common();
--        let target_rpath_dir = env::var_os("TARGET_RPATH_DIR").unwrap();
+-        let target_rpath_dir = env_var_os("TARGET_RPATH_DIR");
 -        cmd.arg(format!("-L{}", target_rpath_dir.to_string_lossy()));
-         Self { cmd, stdin: None }
+         Self { cmd }
      }
 
 EOF