unix/Makefile: test: Add RUN_TESTS_EXTRA to pass args to run-tests.
E.g., to exclude a test for a particular build config.
@@ -201,7 +201,7 @@ include $(TOP)/py/mkrules.mk
test: $(PROG) $(TOP)/tests/run-tests
$(eval DIRNAME=ports/$(notdir $(CURDIR)))
- cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests
+ cd $(TOP)/tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests $(RUN_TESTS_EXTRA)
# install micropython in /usr/local/bin
TARGET = micropython
