Skip to content

Commit 2937ea5

Browse files
committed
Normalize some directories
1 parent 86c1ef6 commit 2937ea5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tests/compile-test.rs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,20 @@ fn run_internal_tests() {
9595
}
9696

9797
fn run_ui_toml() {
98-
let config = base_config("ui-toml");
98+
let mut config = base_config("ui-toml");
99+
100+
config.stderr_filter(
101+
&std::path::Path::new(file!())
102+
.parent()
103+
.unwrap()
104+
.canonicalize()
105+
.unwrap()
106+
.parent()
107+
.unwrap()
108+
.display()
109+
.to_string(),
110+
"$$DIR",
111+
);
99112

100113
ui_test::run_tests(config).unwrap();
101114
}

0 commit comments

Comments
 (0)