From cd74f0ce8ae118080acee0c2a5fb9587a010c2c5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 20 Apr 2024 20:54:19 +0200 Subject: [PATCH] gnulib-tool-tests: Add a global test-all.sh script. --- gnulib-tool-tests/test-all.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 gnulib-tool-tests/test-all.sh diff --git a/gnulib-tool-tests/test-all.sh b/gnulib-tool-tests/test-all.sh new file mode 100755 index 00000000..9369a7ff --- /dev/null +++ b/gnulib-tool-tests/test-all.sh @@ -0,0 +1,16 @@ +#!/bin/sh +fail=0 +for dir in info-tests create-tests import-tests; do + echo "Running tests in $dir..." + (cd "$dir" && ./test-all.sh) + case $? in + 0) # PASS + ;; + 77) # SKIP + ;; + *) # FAIL + fail=1 + ;; + esac +done +exit $fail -- 2.39.5