We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
./x test src/tools/clippy --bless
rust-lang/rust
2 parents 7d3d824 + 9172556 commit 9e6c7afCopy full SHA for 9e6c7af
tests/compile-test.rs
@@ -147,7 +147,11 @@ impl TestContext {
147
.map(|filters| filters.split(',').map(str::to_string).collect())
148
.unwrap_or_default(),
149
target: None,
150
- bless_command: Some("cargo uibless".into()),
+ bless_command: Some(if IS_RUSTC_TEST_SUITE {
151
+ "./x test src/tools/clippy --bless".into()
152
+ } else {
153
+ "cargo uibless".into()
154
+ }),
155
out_dir: target_dir.join("ui_test"),
156
..Config::rustc(Path::new("tests").join(test_dir))
157
};
0 commit comments