From d710cef6610eff758e96f351e6b91c1c9d8df9f6 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 13 Jan 2015 12:39:29 +0000 Subject: minimal: Add simple test; build and run minimal test on Travis CI. --- minimal/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'minimal') diff --git a/minimal/Makefile b/minimal/Makefile index 022b9e0c4..78d1f4fd2 100644 --- a/minimal/Makefile +++ b/minimal/Makefile @@ -71,4 +71,7 @@ run: sleep 1 reset +test: $(BUILD)/firmware.elf + $(Q)echo -e "print('hello world!', list(x+1 for x in range(10)), end='eol\\\\n')\\r\\n\\x04" | $(BUILD)/firmware.elf | tail -n2 | grep "^hello world! \\[1, 2, 3, 4, 5, 6, 7, 8, 9, 10\\]eol" + include ../py/mkrules.mk -- cgit v1.2.3