Merge pull request #505 from lurch/patch-5

Add 'test' target to unix/Makefile
This commit is contained in:
Damien George 2014-04-17 17:24:42 +01:00
commit 594d0ddbb2
1 changed files with 5 additions and 0 deletions

View File

@ -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