Allow multiple threads and panicking tests when testing regex
I guess this was a leftover from very early in the development of cg_clif. Allowing multiple threads significantly improves performance, while panicking tests can run now thanks to -Zpanic-abort-tests.
This commit is contained in:
parent
19ed2139a3
commit
b193419ec7
@ -187,15 +187,7 @@ const fn jit_bin(config: &'static str, source: &'static str, args: &'static str)
|
||||
|
||||
if runner.is_native {
|
||||
let mut run_cmd = REGEX.test(&runner.target_compiler, &runner.dirs);
|
||||
run_cmd.args([
|
||||
"--tests",
|
||||
"--",
|
||||
"--exclude-should-panic",
|
||||
"--test-threads",
|
||||
"1",
|
||||
"-Zunstable-options",
|
||||
"-q",
|
||||
]);
|
||||
run_cmd.args(["--tests", "--", "-q"]);
|
||||
spawn_and_wait(run_cmd);
|
||||
} else {
|
||||
eprintln!("Cross-Compiling: Not running tests");
|
||||
|
Loading…
Reference in New Issue
Block a user