summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authormirabilos <tg@mirbsd.org>2015-05-24 19:21:54 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-25 15:46:38 +0200
commitef28300bbc27306fca5bb1af155e94af32fc7fef (patch)
tree990e7d58ee17df4bd9c378d9658ff17563d16a96 /test/Makefile
parent650380248eaad577445c88b7314307d3acd166fc (diff)
implement experimental pure-sh testsuite runner and generation
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index e4f64181e..a1fa7280c 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -47,6 +47,10 @@ test check all: run
run: subdirs_run
+gen:
+ -rm -f $(top_builddir)/test/uclibcng-testrunner.in
+ $(MAKE) run UCLIBCNG_GENERATE_TESTRUNNER=1
+
compile: $(top_builddir)$(LOCAL_INSTALL_PATH) subdirs_compile
$(top_builddir)$(LOCAL_INSTALL_PATH):
@@ -68,6 +72,7 @@ $(patsubst %, _dir_%, $(DIRS)) : dummy
$(patsubst %, _dirrun_%, $(DIRS)) : dummy
$(Q)$(MAKE) -C $(patsubst _dirrun_%, %, $@) run \
+ UCLIBCNG_TEST_SUBDIR=$(strip $(patsubst _dirrun_%, %, $@)) \
KCONFIG_CONFIG=$(KCONFIG_CONFIG)
$(patsubst %, _dircompile_%, $(DIRS)) : dummy