summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-12-28 19:15:21 +1300
committerDavid Phillips <david@sighup.nz>2017-12-28 19:24:39 +1300
commit22d2cb0a71b22c3142cc073b7ceca976d7a513c1 (patch)
treea113c1b89a71e4a4962e65e22ae9300cc6412f4f /test/Makefile
parent95e3d12b61d7ca89c978b22403e66df8656238ae (diff)
downloadhence-22d2cb0a71b22c3142cc073b7ceca976d7a513c1.tar.xz
Add beginnings of test framework
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..25c1690
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,15 @@
+CFLAGS += -I../
+
+TESTS = \
+ test-whitespace-input
+
+all: clean $(TESTS)
+
+test-whitespace-input: ../gate.o ../parser.o ../logic.o
+
+clean:
+ rm -f $(TESTS)
+
+.PHONY: test
+test:
+ ./test.sh