tests: Only install test-corruption if gjs is found

It now uses a gjs-based helper.
This commit is contained in:
Colin Walters 2014-01-21 19:53:06 +00:00
parent 390b781d3a
commit 9c701b6ae5

View File

@ -26,7 +26,6 @@ testfiles = test-basic \
test-archivez \ test-archivez \
test-remote-add \ test-remote-add \
test-commit-sign \ test-commit-sign \
test-corruption \
test-libarchive \ test-libarchive \
test-pull-archive-z \ test-pull-archive-z \
test-pull-corruption \ test-pull-corruption \
@ -43,6 +42,11 @@ testfiles = test-basic \
$(NULL) $(NULL)
insttest_SCRIPTS = $(addprefix tests/,$(testfiles:=.sh)) 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) testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(testfiles:=.test) testmeta_DATA = $(testfiles:=.test)