Skip to content

Commit 33d00c7

Browse files
committed
Filter out some flaky output from cargo tests
1 parent 702ba71 commit 33d00c7

File tree

30 files changed

+1
-41
lines changed

30 files changed

+1
-41
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tempfile = { version = "3.2", optional = true }
2828
termize = "0.1"
2929

3030
[dev-dependencies]
31-
ui_test = { git = "https://github.com/oli-obk/ui_test.git", branch = "aux_build" }
31+
ui_test = { path = "../ui_test" }
3232
tester = "0.9"
3333
regex = "1.5"
3434
toml = "0.5"

tests/ui-cargo/cargo_common_metadata/fail/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking cargo_common_metadata_fail v0.1.0 ($DIR/$DIR)
21
warning: package `cargo_common_metadata_fail` is missing `package.description` metadata
32
|
43
note: the lint level is defined here

tests/ui-cargo/cargo_common_metadata/fail_publish/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking cargo_common_metadata_fail_publish v0.1.0 ($DIR/$DIR)
21
warning: package `cargo_common_metadata_fail_publish` is missing `package.description` metadata
32
|
43
note: the lint level is defined here

tests/ui-cargo/cargo_common_metadata/fail_publish_true/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking cargo_common_metadata_fail_publish_true v0.1.0 ($DIR/$DIR)
21
warning: package `cargo_common_metadata_fail_publish_true` is missing `package.description` metadata
32
|
43
note: the lint level is defined here
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking cargo_common_metadata_pass v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking cargo_common_metadata_pass_publish_empty v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking cargo_common_metadata_pass_publish_false v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)

tests/ui-cargo/cargo_rust_version/fail_both_diff/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-both-diff v0.1.0 ($DIR/$DIR)
21
warning: the MSRV in `clippy.toml` and `Cargo.toml` differ; using `1.59.0` from `clippy.toml`
32

43
error: unnecessary structure name repetition

tests/ui-cargo/cargo_rust_version/fail_both_same/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-both-same v0.1.0 ($DIR/$DIR)
21
error: unnecessary structure name repetition
32
--> src/main.rs:6:21
43
|

tests/ui-cargo/cargo_rust_version/fail_cargo/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-cargo v0.1.0 ($DIR/$DIR)
21
error: unnecessary structure name repetition
32
--> src/main.rs:6:21
43
|

tests/ui-cargo/cargo_rust_version/fail_clippy/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-clippy v0.1.0 ($DIR/$DIR)
21
error: unnecessary structure name repetition
32
--> src/main.rs:6:21
43
|

tests/ui-cargo/cargo_rust_version/fail_file_attr/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-file-attr v0.1.0 ($DIR/$DIR)
21
error: unnecessary structure name repetition
32
--> src/main.rs:11:21
43
|
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking pass-both-same v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking pass-cargo v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking pass-clippy v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking pass-file-attr v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)

tests/ui-cargo/cargo_rust_version/warn_both_diff/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking warn-both-diff v0.1.0 ($DIR/$DIR)
21
warning: the MSRV in `clippy.toml` and `Cargo.toml` differ; using `1.13.0` from `clippy.toml`
32

43
warning: `warn-both-diff` (bin "warn-both-diff") generated 1 warning

tests/ui-cargo/duplicate_mod/fail/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking duplicate_mod v0.1.0 ($DIR/$DIR)
21
warning: file is loaded as a module multiple times: `src/b.rs`
32
--> src/main.rs:5:1
43
|
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking feature_name v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)

tests/ui-cargo/module_style/fail_mod/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-mod v0.1.0 ($DIR/$DIR)
21
warning: `mod.rs` files are required, found `src/bad/inner.rs`
32
--> src/bad/inner.rs:1:1
43
|

tests/ui-cargo/module_style/fail_mod_remap/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-mod-remap v0.1.0 ($DIR/$DIR)
21
warning: `mod.rs` files are required, found `src/bad.rs`
32
--> src/bad.rs:1:1
43
|

tests/ui-cargo/module_style/fail_no_mod/Cargo.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking fail-no-mod v0.1.0 ($DIR/$DIR)
21
warning: `mod.rs` files are not allowed, found `src/bad/mod.rs`
32
--> src/bad/mod.rs:1:1
43
|
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking pass-mod v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking pass-no-mod v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking no_warn v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Checking warn v0.1.0 ($DIR/$DIR)
21
Using config file `$DIR/$DIR/.clippy.toml`
32
Warning: `$DIR/$DIR/clippy.toml` will be ignored.
43
Finished dev [unoptimized + debuginfo] target(s)
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
Checking nix v0.9.0
2-
Checking ctrlc v3.1.0
3-
Checking multiple_crate_versions v0.1.0 ($DIR/$DIR)
41
Finished dev [unoptimized + debuginfo] target(s)

tests/ui-cargo/multiple_crate_versions/fail/Cargo.stderr

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
Checking void v1.0.2
2-
Checking cfg-if v0.1.10
3-
Checking bitflags v0.9.1
4-
Checking ansi_term v0.11.0
5-
Checking nix v0.9.0
6-
Checking ctrlc v3.1.0
7-
Checking multiple_crate_versions v0.1.0 ($DIR/$DIR)
81
warning: multiple versions for dependency `winapi`: 0.2.8, 0.3.9
92
|
103
note: the lint level is defined here
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Checking multiple_crate_versions v0.1.0 ($DIR/$DIR)
21
Finished dev [unoptimized + debuginfo] target(s)

tests/ui-cargo/wildcard_dependencies/fail/Cargo.stderr

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Checking regex-syntax v0.6.28
2-
Checking aho-corasick v0.7.20
3-
Checking regex v1.7.1
4-
Checking wildcard_dependencies v0.1.0 ($DIR/$DIR)
51
warning: wildcard dependency for `regex`
62
|
73
note: the lint level is defined here

0 commit comments

Comments
 (0)