From 22d2cb0a71b22c3142cc073b7ceca976d7a513c1 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 28 Dec 2017 19:15:21 +1300 Subject: Add beginnings of test framework --- test/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/Makefile (limited to 'test/Makefile') 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 -- cgit v1.1