summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-15 17:38:35 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-15 17:38:35 +0200
commite0d3f4543c01fcee02986f18e937ba16772e2e3b (patch)
treec2d9ccea6ff3593e41f587d6064d777460ff9e4b
parentc85c62d344b7b6f158a88112ef0e6cea53a85669 (diff)
downloadcrawler-e0d3f4543c01fcee02986f18e937ba16772e2e3b.tar.gz
crawler-e0d3f4543c01fcee02986f18e937ba16772e2e3b.tar.bz2
executing tolua tests only in test makefile target
-rw-r--r--tolua/GNUmakefile3
-rw-r--r--tolua/src/tests/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/tolua/GNUmakefile b/tolua/GNUmakefile
index 6a1281e..8353f82 100644
--- a/tolua/GNUmakefile
+++ b/tolua/GNUmakefile
@@ -18,4 +18,5 @@ debug:
cd src/bin; make debug
-test:
+test: tests
+
diff --git a/tolua/src/tests/Makefile b/tolua/src/tests/Makefile
index 215e586..b572365 100644
--- a/tolua/src/tests/Makefile
+++ b/tolua/src/tests/Makefile
@@ -10,6 +10,8 @@ LIBS = -ltolua -llua
EXE = tmodule tnamespace tclass tinheritance tconstant tvariable tfunction tarray tdirective tenum tvararg
all: $(EXE)
+
+test: all
./tmodule; ./tnamespace; ./tclass; ./tinheritance; ./tconstant; ./tvariable; ./tfunction; ./tarray; ./tdirective; ./tfunction; ./tenum; ./tvararg
tarray: tarray.o tarraybind.o