aboutsummaryrefslogtreecommitdiff
path: root/minimal
diff options
context:
space:
mode:
authorDamien George2015-01-13 12:39:29 +0000
committerDamien George2015-01-13 12:39:29 +0000
commitd710cef6610eff758e96f351e6b91c1c9d8df9f6 (patch)
tree8648168e2484889ccbbdab2469cb7cc20dbf269e /minimal
parenta45b042e59839cdc4bafd0414d267e1600829997 (diff)
minimal: Add simple test; build and run minimal test on Travis CI.
Diffstat (limited to 'minimal')
-rw-r--r--minimal/Makefile3
1 files changed, 3 insertions, 0 deletions
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