summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-06-19 20:20:10 +0100
committernorly <ny-git@enpas.org>2013-06-20 22:10:23 +0100
commit7f1a29e9e33059dfebdc24bb3ffaa3dac46b58f1 (patch)
tree89f3108016eb3440ec35a9b20957f46ef999cc5c /Makefile
parentc98d704a812502c34d82e34949f37c8b87ae6018 (diff)
Automate tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c8dee76..c93b2ab 100644
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,7 @@ default: $(EXE)
.PHONY: check
check: $(EXE)
- $(error the re-layouting has broken make check for now, sorry.)
- $(EXE) $(EXE) -o testexe
- @cmp $(EXE) testexe
- @rm testexe
- @echo "Check successful."
+ make -C tests check
.PHONY: debug
@@ -53,6 +49,7 @@ clean:
rm -f $(OBJS)
rm -f $(TESTEXES)
rm -rf $(BUILDDIR)/
+ make -C tests clean
.PHONY: distclean