From a7bd3e01dfc35aeaf1cd80d9678943c9ebbc5d65 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 22 Jun 2018 10:11:16 +0200 Subject: [PATCH] tests: only run gpgsign tests if gpg is present and executable This allows the full test suite to run in Debian/Ubuntu autopkgtest with only the Depends: installed, and nothing from Recommends:. --- tests/run-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-tests b/tests/run-tests index f17f933b..d747dddf 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -262,7 +262,7 @@ grep -F '> config.py $fdroid checkupdates --allow-dirty -$fdroid gpgsign +which gpg && $fdroid gpgsign $fdroid lint $fdroid readmeta $fdroid rewritemeta fake