[glib-networking/glib-2-38] tls/tests: don't install test data files when --disable-installed-tests



commit 2000569b9491dc3e8042f3df2dfc8544a6876c31
Author: Dan Winship <danw gnome org>
Date:   Wed Oct 16 08:42:03 2013 -0400

    tls/tests: don't install test data files when --disable-installed-tests
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710197

 tls/tests/Makefile.am |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/tls/tests/Makefile.am b/tls/tests/Makefile.am
index e8c19c3..df51f91 100644
--- a/tls/tests/Makefile.am
+++ b/tls/tests/Makefile.am
@@ -35,8 +35,7 @@ pkcs11_slot_SOURCES = pkcs11-slot.c \
 
 endif
 
-testfilesdir = $(installed_testdir)/files
-testfiles_DATA =                               \
+testfiles_data =                               \
        files/ca.pem                            \
        files/ca-roots.pem                      \
        files/ca-verisign-sha1.pem              \
@@ -54,4 +53,9 @@ testfiles_DATA =                              \
        files/server-self.pem                   \
        $(NULL)
 
-EXTRA_DIST += $(testfiles_DATA)
+if ENABLE_INSTALLED_TESTS
+testfilesdir = $(installed_testdir)/files
+testfiles_DATA = $(testfiles_data)
+endif
+
+EXTRA_DIST += $(testfiles_data)


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