From f5a64ec04a8cdd75a3940f21f4c2b908fc5ba667 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 14 Apr 2016 12:19:09 -0400 Subject: [PATCH] Tests: dynamically create test list based on enabled features MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 56e93c11..5927f59e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -23,8 +23,12 @@ clean-local: done; \ fi +TEMPLIST := $(shell mktemp -u) check-am: - ./run.sh $(srcdir)/tests + @cat $(srcdir)/tests > $(TEMPLIST) if ENABLE_DEBUGINFO - ./run.sh $(srcdir)/tests_debuginfo + @echo '' >> $(TEMPLIST) + @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST) endif + ./run.sh $(TEMPLIST) + rm $(TEMPLIST) -- 2.34.1