Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d404a4

Browse files
committedNov 26, 2024
don't pass every test arg to test-float-parse
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 1824c7f commit 8d404a4

File tree

1 file changed

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

1 file changed

+2
-6
lines changed
 

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

+2-6
Original file line numberDiff line numberDiff line change
@@ -3599,12 +3599,8 @@ 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 !matches!(env::var("FLOAT_PARSE_TESTS_NO_SKIP_HUGE").as_deref(), Ok("1") | Ok("true")) {
3603+
cargo_run.args(["--", "--skip-huge"]);
36083604
}
36093605

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

0 commit comments

Comments
 (0)
Failed to load comments.