aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-23 21:58:38 +0100
committerEugene Sandulenko2017-01-23 21:58:38 +0100
commit3bd85ef313973e1e15312e589340341d63f51dba (patch)
tree2cbe69d24657613f24ef17655d3c166f9487ed98 /test
parent37bb3abce47c27981c2c18a15210a85e3ac29987 (diff)
downloadscummvm-rg350-3bd85ef313973e1e15312e589340341d63f51dba.tar.gz
scummvm-rg350-3bd85ef313973e1e15312e589340341d63f51dba.tar.bz2
scummvm-rg350-3bd85ef313973e1e15312e589340341d63f51dba.zip
TESTS: Fix tests building
Diffstat (limited to 'test')
-rw-r--r--test/module.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/module.mk b/test/module.mk
index b4cc519e86..6974c7bfc1 100644
--- a/test/module.mk
+++ b/test/module.mk
@@ -45,6 +45,9 @@ test: test/runner
./test/runner
test/runner: test/runner.cpp $(TEST_LIBS)
$(QUIET_CXX)$(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -o $@ $+ $(TEST_LDFLAGS)
+test/runner.cpp: $(TESTS)
+ @mkdir -p test
+ $(srcdir)/test/cxxtest/cxxtestgen.py $(TEST_FLAGS) -o $@ $+
clean: clean-test
clean-test: