From 9c701b6ae5de26f9fac9d8409c144a2f149f2526 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 21 Jan 2014 19:53:06 +0000 Subject: [PATCH] tests: Only install test-corruption if gjs is found It now uses a gjs-based helper. --- Makefile-tests.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile-tests.am b/Makefile-tests.am index 75d9d2c6..442b6035 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)