From e0d3f4543c01fcee02986f18e937ba16772e2e3b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 15 Oct 2014 17:38:35 +0200 Subject: executing tolua tests only in test makefile target --- tolua/GNUmakefile | 3 ++- tolua/src/tests/Makefile | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf