Skip to content

Commit a93f531

Browse files
committed
Stop removing some test directories
1 parent 5544f5d commit a93f531

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

build_system/src/test.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -945,17 +945,7 @@ where
945945
rust_path.join("tests/ui"),
946946
&mut |dir| {
947947
let dir_name = dir.file_name().and_then(|name| name.to_str()).unwrap_or("");
948-
if [
949-
"abi",
950-
"extern",
951-
"unsized-locals",
952-
"proc-macro",
953-
"threads-sendsync",
954-
"borrowck",
955-
"test-attrs",
956-
]
957-
.contains(&dir_name)
958-
{
948+
if ["abi", "extern", "proc-macro", "threads-sendsync"].contains(&dir_name) {
959949
remove_dir_all(dir).map_err(|error| {
960950
format!("Failed to remove folder `{}`: {:?}", dir.display(), error)
961951
})?;

0 commit comments

Comments
 (0)