From a16d3d640512b4bec17eaafa3ea4a216f71bc551 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 12 Nov 2022 14:23:39 +0100 Subject: [PATCH] Fail RGBGFX test suite if support test programs fail to be built --- test/gfx/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gfx/test.sh b/test/gfx/test.sh index bf2c0670..b39c94f3 100755 --- a/test/gfx/test.sh +++ b/test/gfx/test.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -[[ -e ./rgbgfx_test ]] || make -C ../.. test/gfx/rgbgfx_test -[[ -e ./randtilegen ]] || make -C ../.. test/gfx/randtilegen +[[ -e ./rgbgfx_test ]] || make -C ../.. test/gfx/rgbgfx_test || exit +[[ -e ./randtilegen ]] || make -C ../.. test/gfx/randtilegen || exit trap 'rm -f "$errtmp"' EXIT errtmp="$(mktemp)"