diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-17 17:24:42 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-17 17:24:42 +0100 |
commit | 594d0ddbb2740996b460dd596f76fc21f092e9fc (patch) | |
tree | 8579e24dece12fd2f383f9fe3716682f5dc51c9e | |
parent | 91d0ab9b0f695cf37198b518428480890bd05195 (diff) | |
parent | e02b77bf6b84b7f3149071c8aeadaffe173cb368 (diff) | |
download | micropython-594d0ddbb2740996b460dd596f76fc21f092e9fc.tar.gz micropython-594d0ddbb2740996b460dd596f76fc21f092e9fc.zip |
Merge pull request #505 from lurch/patch-5
Add 'test' target to unix/Makefile
-rw-r--r-- | unix/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile index 07a75f7adb..c9509b9f0d 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -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 |