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)