diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-12-02 14:51:47 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-12-03 08:13:00 -0800 |
| commit | 6437122e64d5c5d0cb2aa772d302348a9d366b0d (patch) | |
| tree | 7c430236977a15ee054ee563eda7cc88be33d6bc | |
| parent | 2bd80758a278e6f21e48b6a2e27d9a24b0830a0e (diff) | |
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.
| -rw-r--r-- | mk/tests.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tests.mk b/mk/tests.mk index 86436abe43d..e19e8638331 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -920,11 +920,11 @@ $$(call TEST_OK_FILE,$(1),$(2),$(3),rmake): \ $(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \ $(S)src/test/run-make/%/Makefile \ - $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) + $$(HSREQ$(1)_H_$(3)) @rm -rf $(3)/test/run-make/$$* @mkdir -p $(3)/test/run-make/$$* @echo maketest: $$* - $$(Q)python $(S)src/etc/maketest.py $$(dir $$<) \ + $$(Q)$$(CFG_PYTHON) $(S)src/etc/maketest.py $$(dir $$<) \ $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \ $(3)/test/run-make/$$* \ "$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))" |
