Merge pull request #505 from lurch/patch-5

Add 'test' target to unix/Makefile
pull/506/merge
Damien George 2014-04-17 17:24:42 +01:00
commit 594d0ddbb2
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -67,3 +67,8 @@ OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
include ../py/mkrules.mk
.PHONY: test
test: $(PROG) ../tests/run-tests
$(eval DIRNAME=$(notdir $(CURDIR)))
cd ../tests && MICROPY_MICROPYTHON=../$(DIRNAME)/$(PROG) ./run-tests