commit a5694e741ace840acfe8774a8dc9e3455de4c0cd parent 27f71ff3a0a1ab31210576a1c994edc0c98d6238 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 1 Oct 2024 13:54:54 +0200 skip tests if curl/jq are not found Diffstat:
| M | src/testing/setup.sh | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/testing/setup.sh b/src/testing/setup.sh @@ -65,3 +65,9 @@ function get_payto_uri() { libeufin-bank create-account -u "$1" -p "$2" --name "$1" 2> /dev/null } +echo -n "Checking for curl ..." +curl --version 2> /dev/null > /dev/null || exit_skip " no curl" +echo " OK" +echo -n "Checking for jq ..." +jq --version 2> /dev/null > /dev/null || exit_skip " no jq" +echo " OK"