[beast: 3/17] TESTS: move tests/testwavechunk into tests/Makefile.sub
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 3/17] TESTS: move tests/testwavechunk into tests/Makefile.sub
- Date: Sun, 15 Oct 2017 22:52:44 +0000 (UTC)
commit 3c0df2695e348fae22324dce4223885535a0e970
Author: Tim Janik <timj gnu org>
Date: Sun Oct 15 17:15:48 2017 +0200
TESTS: move tests/testwavechunk into tests/Makefile.sub
Signed-off-by: Tim Janik <timj gnu org>
tests/Makefile.am | 5 -----
tests/Makefile.sub | 17 ++++++++++++++---
2 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0c12d93..6ac25ec 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,11 +24,6 @@ generated: clean-generated $(GENERATED)
noinst_PROGRAMS = $(ALLTESTS)
progs_ldadd = ../bse/libbse-@MAJOR@.la $(LIBBSE_LIBS)
-# testwavechunk
-TAPTESTS += testwavechunk
-SLOWTESTS += testwavechunk
-testwavechunk_SOURCES = testwavechunk.cc
-testwavechunk_LDADD = $(progs_ldadd)
# testresampler
noinst_PROGRAMS += testresampler
testresampler_SOURCES = testresampler.cc
diff --git a/tests/Makefile.sub b/tests/Makefile.sub
index d9373e4..e54de78 100644
--- a/tests/Makefile.sub
+++ b/tests/Makefile.sub
@@ -15,6 +15,13 @@ tests_check_TARGETS =
check-tests: $(tests_check_TARGETS)
check-local: check-tests
.PHONY: check-tests
+define tests_foreach_RULE
+$(TESTPRG)\ CHECK: $(TESTPRG)
+ @echo ' EXEC ' $(TESTPRG) ; $(TESTPRG)
+check-tests: $(TESTPRG)\ CHECK
+.PHONY: $(TESTPRG)\ CHECK
+endef
+$(foreach TESTPRG,$(NOINST_TESTS),$(eval $(call tests_foreach_RULE,$(TESTPRG))))
# == installcheck-tests ==
installcheck-tests:
@@ -28,7 +35,11 @@ tests_suite1_CXXFLAGS = $(SFI_CPPFLAGS) $(RAPICORN_CFLAGS)
tests_suite1_SOURCES = \
tests/suite1-main.cc \
tests/suite1-randomhash.cc
-tests_suite1_CHECK: tests/suite1 ; $(QTEST) tests/suite1
-tests_check_TARGETS += tests_suite1_CHECK
-
+# == testwavechunk ==
+NOINST_TESTS += tests/testwavechunk
+SLOWTESTS += tests/testwavechunk
+tests_testwavechunk_CXXFLAGS = $(SFI_CPPFLAGS) $(RAPICORN_CFLAGS)
+tests_testwavechunk_SOURCES = \
+ tests/testwavechunk.cc
+tests_testwavechunk_LDADD = bse/libbse-@MAJOR@.la $(LIBBSE_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]