[ostree] tests: Only install test-corruption if gjs is found



commit 9c701b6ae5de26f9fac9d8409c144a2f149f2526
Author: Colin Walters <walters verbum org>
Date:   Tue Jan 21 19:53:06 2014 +0000

    tests: Only install test-corruption if gjs is found
    
    It now uses a gjs-based helper.

 Makefile-tests.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-tests.am b/Makefile-tests.am
index 75d9d2c..442b603 100644
--- a/Makefile-tests.am
+++ b/Makefile-tests.am
@@ -26,7 +26,6 @@ testfiles = test-basic \
        test-archivez \
        test-remote-add \
         test-commit-sign \
-       test-corruption \
        test-libarchive \
        test-pull-archive-z \
        test-pull-corruption \
@@ -43,6 +42,11 @@ testfiles = test-basic \
        $(NULL)
 insttest_SCRIPTS = $(addprefix tests/,$(testfiles:=.sh))
 
+# This one uses corrupt-repo-ref.js
+if BUILDOPT_GJS
+testfiles += test-corruption
+endif
+
 testmetadir = $(datadir)/installed-tests/$(PACKAGE)
 testmeta_DATA = $(testfiles:=.test)
 


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