Skip to content

Commit 8fbd92d

Browse files
committed
Auto merge of #96689 - gimbles:campfire, r=Mark-Simulacrum
Move check-bootstrap from a makefile rule to test::Bootstrap Fixes #96688
2 parents 4c09a33 + 72d2d6a commit 8fbd92d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/bootstrap/mk/Makefile.in

-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ check-aux:
4545
src/tools/cargo \
4646
src/tools/cargotest \
4747
$(BOOTSTRAP_ARGS)
48-
check-bootstrap:
49-
$(Q)$(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap_test.py
5048
dist:
5149
$(Q)$(BOOTSTRAP) dist $(BOOTSTRAP_ARGS)
5250
distcheck:

src/bootstrap/test.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2351,6 +2351,10 @@ impl Step for Bootstrap {
23512351

23522352
/// Tests the build system itself.
23532353
fn run(self, builder: &Builder<'_>) {
2354+
let mut check_bootstrap = Command::new(&builder.python());
2355+
check_bootstrap.arg("bootstrap_test.py").current_dir(builder.src.join("src/bootstrap/"));
2356+
try_run(builder, &mut check_bootstrap);
2357+
23542358
let mut cmd = Command::new(&builder.initial_cargo);
23552359
cmd.arg("test")
23562360
.current_dir(builder.src.join("src/bootstrap"))

src/ci/run.sh

-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ $SRC/configure $RUST_CONFIGURE_ARGS
141141

142142
retry make prepare
143143

144-
make check-bootstrap
145-
146144
# Display the CPU and memory information. This helps us know why the CI timing
147145
# is fluctuating.
148146
if isMacOS; then

0 commit comments

Comments
 (0)