Skip to content

Commit c79a645

Browse files
committed
don't pass every test arg to test-float-parse
Signed-off-by: onur-ozkan <[email protected]>
1 parent 1824c7f commit c79a645

File tree

1 file changed

+5
-6
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+5
-6
lines changed

src/bootstrap/src/core/build_steps/test.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -3599,12 +3599,11 @@ impl Step for TestFloatParse {
35993599
&[],
36003600
);
36013601

3602-
cargo_run.arg("--");
3603-
if builder.config.args().is_empty() {
3604-
// By default, exclude tests that take longer than ~1m.
3605-
cargo_run.arg("--skip-huge");
3606-
} else {
3607-
cargo_run.args(builder.config.args());
3602+
if env::var("FLOAT_PARSE_TESTS_SKIP_HUGE").unwrap() == "1" {
3603+
cargo_run
3604+
.arg("--")
3605+
// By default, exclude tests that take longer than ~1m.
3606+
.arg("--skip-huge");
36083607
}
36093608

36103609
cargo_run.into_cmd().run(builder);

0 commit comments

Comments
 (0)