From e892dc6e9c8c4c09ab7294a90ad4c722c91d8d01 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 20 Sep 2022 16:07:55 +0100 Subject: [PATCH] stop if test fails --- run-tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-tests.sh b/run-tests.sh index 4934d8d..3568b14 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,7 +1,8 @@ #!/usr/bin/env bash export TMPDIR=${TMPDIR-/tmp} + for i in tests/*/run.sh; do echo $i - $i + $i || exit 1 done