[gspell] build: use UNIT_TEST_PROGS variable after its value is filled



commit 6347ace60faf9d5e09f9b4917aba1de8bde40fc4
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Aug 1 15:30:30 2016 +0200

    build: use UNIT_TEST_PROGS variable after its value is filled
    
    It doesn't change anything AFAIK, but the code is now more natural.

 testsuite/Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index b6be6b5..669c026 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -10,8 +10,6 @@ AM_LDFLAGS = $(WARN_LDFLAGS)
 LDADD = $(top_builddir)/gspell/libgspell-core.la       \
        $(DEP_LIBS)
 
-noinst_PROGRAMS = $(UNIT_TEST_PROGS)
-TESTS = $(UNIT_TEST_PROGS)
 UNIT_TEST_PROGS =
 
 UNIT_TEST_PROGS += test-checker
@@ -26,6 +24,9 @@ test_text_iter_SOURCES = test-text-iter.c
 UNIT_TEST_PROGS += test-utils
 test_utils_SOURCES = test-utils.c
 
+noinst_PROGRAMS = $(UNIT_TEST_PROGS)
+TESTS = $(UNIT_TEST_PROGS)
+
 if INSTALLED_TESTS
 insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)-@GSPELL_API_VERSION@
 insttest_PROGRAMS = $(UNIT_TEST_PROGS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]