Fail RGBGFX test suite if support test programs fail to be built

This commit is contained in:
ISSOtm
2022-11-12 14:23:39 +01:00
committed by Eldred Habert
parent 3e5cd8ce1a
commit a16d3d6405

View File

@@ -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)"