diff --git a/test/gfx/test.sh b/test/gfx/test.sh index ae0cb2e7..c571fa40 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 Q= || exit -[[ -e ./randtilegen ]] || make -C ../.. test/gfx/randtilegen Q= || exit +[[ -e ./rgbgfx_test ]] || make -C ../.. test/gfx/rgbgfx_test Q= ${CXX:+"CXX=$CXX"} || exit +[[ -e ./randtilegen ]] || make -C ../.. test/gfx/randtilegen Q= ${CXX:+"CXX=$CXX"} || exit trap 'rm -f "$errtmp"' EXIT errtmp="$(mktemp)"