Skip to content

Commit

Permalink
reordered tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lordshashank committed Mar 24, 2024
1 parent 5918a51 commit 43dbdeb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build_system/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,14 +1027,14 @@ fn test_successful_rustc(env: &Env, args: &TestArg) -> Result<(), String> {
test_rustc_inner(
env,
args,
prepare_files_callback_success("tests/failing-run-make-tests.txt", "run-make"),
"run-make",
prepare_files_callback_success("tests/failing-ui-tests.txt", "ui"),
"ui",
)?;
test_rustc_inner(
env,
args,
prepare_files_callback_success("tests/failing-ui-tests.txt", "ui"),
"ui",
prepare_files_callback_success("tests/failing-run-make-tests.txt", "run-make"),
"run-make",
)
}

Expand Down Expand Up @@ -1149,7 +1149,7 @@ fn prepare_files_callback_success<'a>(
println!("Failed to read `{}`, not putting back failing ui tests", file_path);
}
}
Ok(false)
Ok(true)
}
}

Expand Down

0 comments on commit 43dbdeb

Please sign in to comment.