[gtksourceview/wip/gsv-next: 3/6] build: make installed tests parallel installable



commit 78ce485aaec69810ba0d64f5f73e7e99e789835a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 26 19:10:33 2016 +0100

    build: make installed tests parallel installable
    
    To follow the GNOME Goal update:
    https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests
    
    Also, fix some variable names.

 tests/Makefile.am |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1e74818..5109f16 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -152,16 +152,16 @@ EXTRA_DIST =                              \
        $(python_tests)
 
 if INSTALLED_TESTS
-insttestdir = ${libexecdir}/installed-tests/$(PACKAGE)
+insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)-3.0
 insttest_PROGRAMS = $(UNIT_TEST_PROGS)
 
-instteslangdir = ${libexecdir}/installed-tests/$(PACKAGE)/language-specs
-instteslang_DATA =                     \
+insttestlangdir = $(libexecdir)/installed-tests/$(PACKAGE)-3.0/language-specs
+insttestlang_DATA =                    \
        language-specs/test-empty.lang  \
        language-specs/test-full.lang
 
-insttesstyledir = ${libexecdir}/installed-tests/$(PACKAGE)/styles
-insttesstyle_DATA =                    \
+instteststyledir = $(libexecdir)/installed-tests/$(PACKAGE)-3.0/styles
+instteststyle_DATA =                   \
        styles/classic.xml              \
        styles/test.xml
 
@@ -177,8 +177,9 @@ test_files = $(UNIT_TEST_PROGS:=.test)
 
 DISTCLEANFILES = $(test_files)
 
-testmetadir = $(datadir)/installed-tests/$(PACKAGE)
+testmetadir = $(datadir)/installed-tests/$(PACKAGE)-3.0
 testmeta_DATA = $(test_files)
-endif
+
+endif # INSTALLED_TESTS
 
 -include $(top_srcdir)/git.mk


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