We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
x test
1 parent a955f1c commit 3dac888Copy full SHA for 3dac888
src/bootstrap/src/core/build_steps/test.rs
@@ -3132,7 +3132,11 @@ impl Step for Bootstrap {
3132
}
3133
3134
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
3135
- run.path("src/bootstrap")
+ // Bootstrap tests might not be perfectly self-contained and can depend on the external
3136
+ // environment, submodules that are checked out, etc.
3137
+ // Therefore we only run them by default on CI.
3138
+ let runs_on_ci = run.builder.config.is_running_on_ci;
3139
+ run.path("src/bootstrap").default_condition(runs_on_ci)
3140
3141
3142
fn make_run(run: RunConfig<'_>) {
0 commit comments