Skip to content

Commit

Permalink
don't pass every test arg to test-float-parse
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Nov 25, 2024
1 parent 1824c7f commit c79a645
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3599,12 +3599,11 @@ impl Step for TestFloatParse {
&[],
);

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

cargo_run.into_cmd().run(builder);
Expand Down

0 comments on commit c79a645

Please sign in to comment.