Avoid a duplicate "[TEST] rust-random/rand"

This commit is contained in:
bjorn3 2023-02-26 17:37:29 +00:00
parent c615e9248a
commit b88e129915

View File

@ -125,12 +125,11 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[
RAND.clean(&runner.dirs);
if runner.is_native {
eprintln!("[TEST] rust-random/rand");
let mut test_cmd = RAND.test(&runner.target_compiler, &runner.dirs);
test_cmd.arg("--workspace").arg("--").arg("-q");
spawn_and_wait(test_cmd);
} else {
eprintln!("[AOT] rust-random/rand");
eprintln!("Cross-Compiling: Not running tests");
let mut build_cmd = RAND.build(&runner.target_compiler, &runner.dirs);
build_cmd.arg("--workspace").arg("--tests");
spawn_and_wait(build_cmd);