aboutsummaryrefslogtreecommitdiff
path: root/test/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'test/module.mk')
-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: