File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ fn run(name: &str, mode: Mode) -> Result<()> {
35
35
} ;
36
36
37
37
config. stderr_filter ( "in [0-9\\ .]+s" , "" ) ;
38
- config. stderr_filter ( "( Running [^(]+).*" , "$1" ) ;
39
- config. stderr_filter ( " Compiling .*\n " , "" ) ;
38
+ config. stderr_filter ( "( +Running [^(]+).*" , "$1" ) ;
39
+ config. stderr_filter ( " *(Compiling|Downloaded|Downloading) .*\n " , "" ) ;
40
+ // The order of the `/deps` directory flag is flaky
41
+ config. stderr_filter ( "/deps" , "" ) ;
40
42
config. stderr_filter (
41
43
& std:: path:: Path :: new ( path)
42
44
. canonicalize ( )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ tests/actual_tests/bad_pattern.rs ... FAILED
7
7
tests/actual_tests/foomp.rs ... FAILED
8
8
9
9
tests/actual_tests/bad_pattern.rs FAILED:
10
- command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=$DIR/$DIR/../../../target/debug/deps/ libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/debug/deps " "-L" "$DIR/$DIR/../../../target/debug" "tests/actual_tests/bad_pattern.rs"
10
+ command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=$DIR/$DIR/../../../target/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/debug" "-L" "$DIR/$DIR/../../../target/debug" "tests/actual_tests/bad_pattern.rs"
11
11
12
12
substring `miesmätsched types` not found in stderr output
13
13
expected because of pattern here: tests/actual_tests/bad_pattern.rs:5
@@ -37,7 +37,7 @@ For more information about this error, try `rustc --explain E0308`.
37
37
38
38
39
39
tests/actual_tests/foomp.rs FAILED:
40
- command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=$DIR/$DIR/../../../target/debug/deps/ libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/debug/deps " "-L" "$DIR/$DIR/../../../target/debug" "tests/actual_tests/foomp.rs"
40
+ command: "rustc" "--error-format=json" "--edition=2021" "--extern" "basic_fail=$DIR/$DIR/../../../target/debug/libbasic_fail-$HASH.rmeta" "-L" "$DIR/$DIR/../../../target/debug" "-L" "$DIR/$DIR/../../../target/debug" "tests/actual_tests/foomp.rs"
41
41
42
42
actual output differed from expected tests/actual_tests/foomp.stderr
43
43
[1mDiff[0m [31m< left[0m / [32mright >[0m :
You can’t perform that action at this time.
0 commit comments