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>
This commit is contained in:
parent
bfc63a5c84
commit
94a19f1062
@ -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
|
||||
|
@ -1,3 +1 @@
|
||||
# This is the default variant when you `make` the Windows port.
|
||||
|
||||
PROG ?= micropython
|
||||
|
Loading…
x
Reference in New Issue
Block a user