From b1395a9dd2be84ad26f38536358451e46e947aef Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 8 Aug 2023 10:52:55 -0400 Subject: [PATCH] run-tests.sh: hack a path to allow ./run-tests.sh outside of automake --- run-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-tests.sh b/run-tests.sh index cd25d0c..ad311f7 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -15,6 +15,9 @@ LOADERS_CACHE=$(pwd)/loaders.cache GDK_PIXBUF_MODULEDIR=.libs gdk-pixbuf-query-loaders > "${LOADERS_CACHE}" export GDK_PIXBUF_MODULE_FILE="${LOADERS_CACHE}" +# Support running the test suite outside of automake +test -z "${test_cases}" && test_cases=test-cases + TEST_CASES=$(find ${test_cases} -type f -name '*.svg') for f in $TEST_CASES; do g="$(basename "${f}").png" -- 2.44.2