Skip to content

Commit 6437122

Browse files
committed
Tidy up a few problems with run-make tests
Use the correct set of dependencies as well as CFG_PYTHON instead of assuming 'python' is the right one.
1 parent 2bd8075 commit 6437122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,11 +920,11 @@ $$(call TEST_OK_FILE,$(1),$(2),$(3),rmake): \
920920

921921
$(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \
922922
$(S)src/test/run-make/%/Makefile \
923-
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3))
923+
$$(HSREQ$(1)_H_$(3))
924924
@rm -rf $(3)/test/run-make/$$*
925925
@mkdir -p $(3)/test/run-make/$$*
926926
@echo maketest: $$*
927-
$$(Q)python $(S)src/etc/maketest.py $$(dir $$<) \
927+
$$(Q)$$(CFG_PYTHON) $(S)src/etc/maketest.py $$(dir $$<) \
928928
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
929929
$(3)/test/run-make/$$* \
930930
"$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))"

0 commit comments

Comments
 (0)