diff options
| author | Mahdi Dibaiee <mdibaiee@pm.me> | 2023-07-26 10:28:53 +0100 |
|---|---|---|
| committer | Mahdi Dibaiee <mdibaiee@pm.me> | 2023-07-26 10:55:51 +0100 |
| commit | 7d773c3304731716cc54db3531ba54067ca55a4a (patch) | |
| tree | 684ebc04c16cb4d6cfbeb813bec536fb63d5390f /src | |
| parent | cf34adb0dd408d7b2f27a64484df63c36c1cc514 (diff) | |
| download | rust-7d773c3304731716cc54db3531ba54067ca55a4a.tar.gz rust-7d773c3304731716cc54db3531ba54067ca55a4a.zip | |
compiletest: remove ci-specific remap-path-prefix
Now that we have fixed the underlying cause of long type name inconsistencies in #113893, we can remove the remap-path-prefix logic from CI
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index 4ae2249097f..269d9384376 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -6,7 +6,6 @@ use std::io::BufReader; use std::path::{Path, PathBuf}; use std::process::Command; -use build_helper::ci::CiEnv; use tracing::*; use crate::common::{Config, Debugger, FailMode, Mode, PassMode}; @@ -298,13 +297,6 @@ impl TestProps { /// `//[foo]`), then the property is ignored unless `cfg` is /// `Some("foo")`. fn load_from(&mut self, testfile: &Path, cfg: Option<&str>, config: &Config) { - // In CI, we've sometimes encountered non-determinism related to truncating very long paths. - // Set a consistent (short) prefix to avoid issues, but only in CI to avoid regressing the - // contributor experience. - if CiEnv::is_ci() { - self.remap_src_base = config.mode == Mode::Ui && !config.suite.contains("rustdoc"); - } - let mut has_edition = false; if !testfile.is_dir() { let file = File::open(testfile).unwrap(); |
