From cf2c1d0270c6f8de66520ed251f90f57f78767b5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 25 Sep 2019 12:21:04 +0200 Subject: [PATCH] run-tests needs a source of APKs to function The test runs on jenkins.debian.net were failing because they specified a dir that did not exist. --- tests/run-tests | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run-tests b/tests/run-tests index c6248954..8a7b31a8 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -99,6 +99,10 @@ if [ -z "$1" ]; then else APKDIR=$1 fi +if [ ! -d "$APKDIR" ]; then + echo "ERROR: '$APKDIR' does not exist!" + exit 1 +fi if [ -z $WORKSPACE ]; then WORKSPACE=`dirname $(pwd)`