summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-11 16:53:42 +1000
committerJim Mussared <jim.mussared@gmail.com>2022-08-11 16:53:43 +1000
commit94a19f10628f9c3a9978daae9f6f4c7ac352e9a2 (patch)
treefb1678f4981601c2b0153c948282b348d2924839
parentbfc63a5c844cd9efa25a44b418be201984fa231c (diff)
windows/Makefile: Update test dependency on $(PROG).
PR #9012 (b2e82402688b53829f37475583231b067b9faea7) changed the output to $(BUILD)/$(PROG) but the tests are still looking for $(PROG). Also remove the now-unnecessary override of $(PROG) in the standard variant. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
-rw-r--r--ports/windows/Makefile7
-rw-r--r--ports/windows/variants/standard/mpconfigvariant.mk2
2 files changed, 3 insertions, 6 deletions
diff --git a/ports/windows/Makefile b/ports/windows/Makefile
index 45d61b0b5..1e793800f 100644
--- a/ports/windows/Makefile
+++ b/ports/windows/Makefile
@@ -16,7 +16,6 @@ include $(VARIANT_DIR)/mpconfigvariant.mk
FROZEN_MANIFEST ?= variants/manifest.py
# Define main target
-# This should be configured by the mpconfigvariant.mk
PROG ?= micropython
# qstr definitions (must come before including py.mk)
@@ -98,10 +97,10 @@ include $(TOP)/py/mkrules.mk
RUN_TESTS_SKIP += -e math_fun -e float2int_double -e float_parse -e math_domain_special
-test: $(PROG) $(TOP)/tests/run-tests.py
+test: $(BUILD)/$(PROG) $(TOP)/tests/run-tests.py
$(eval DIRNAME=ports/$(notdir $(CURDIR)))
- cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) $(PYTHON) ./run-tests.py $(RUN_TESTS_SKIP)
+ cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(BUILD)/$(PROG) $(PYTHON) ./run-tests.py $(RUN_TESTS_SKIP)
test_full: test
$(eval DIRNAME=ports/$(notdir $(CURDIR)))
- cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) $(PYTHON) ./run-tests.py --via-mpy $(RUN_TESTS_MPY_CROSS_FLAGS) $(RUN_TESTS_SKIP) -d basics float micropython
+ cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(BUILD)/$(PROG) $(PYTHON) ./run-tests.py --via-mpy $(RUN_TESTS_MPY_CROSS_FLAGS) $(RUN_TESTS_SKIP) -d basics float micropython
diff --git a/ports/windows/variants/standard/mpconfigvariant.mk b/ports/windows/variants/standard/mpconfigvariant.mk
index 9e1f5ae05..a0d6712c5 100644
--- a/ports/windows/variants/standard/mpconfigvariant.mk
+++ b/ports/windows/variants/standard/mpconfigvariant.mk
@@ -1,3 +1 @@
# This is the default variant when you `make` the Windows port.
-
-PROG ?= micropython