diff options
| author | bors <bors@rust-lang.org> | 2021-02-23 05:53:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-23 05:53:59 +0000 |
| commit | a3127fafb4fa41b571cddaad72c32fc05fc3cdcb (patch) | |
| tree | cf144c4a118327557a5746e2076bc57a006f21b5 | |
| parent | 697f3b6d4fbb7baf6162d35580f0b2b493840b5e (diff) | |
| parent | 5fe3b6c41aea8df1ce98cb682d83aa05c551b670 (diff) | |
| download | rust-a3127fafb4fa41b571cddaad72c32fc05fc3cdcb.tar.gz rust-a3127fafb4fa41b571cddaad72c32fc05fc3cdcb.zip | |
Auto merge of #6774 - Y-Nak:quick-fix-bless, r=phansch
Quick fix cargo dev bless fixes #6757 r? `@phansch` Trying to do a quick fix of `bless`, I'm not sure how much work it will need to do transition to `bless` built in `compiletest`, so please feel free to close this PR if it will not need so much. changelog: none
| -rw-r--r-- | clippy_dev/src/bless.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_dev/src/bless.rs b/clippy_dev/src/bless.rs index 2a869e9d449..c4fa0a9aca7 100644 --- a/clippy_dev/src/bless.rs +++ b/clippy_dev/src/bless.rs @@ -42,9 +42,10 @@ pub fn bless(ignore_timestamp: bool) { .for_each(|f| { let test_name = f.path().strip_prefix(test_suite_dir).unwrap(); for &ext in &["stdout", "stderr", "fixed"] { + let test_name_ext = format!("stage-id.{}", ext); update_reference_file( f.path().with_extension(ext), - test_name.with_extension(ext), + test_name.with_extension(test_name_ext), ignore_timestamp, ); } |
