From e6d1c76e5c843f1755bf79ee71f82dfecf3dcde4 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 19 Jan 2023 14:18:01 +0100 Subject: [PATCH] Add early exit for test_shaders if compilation fails --- test_shaders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_shaders.sh b/test_shaders.sh index c2ab2324..54bf700c 100755 --- a/test_shaders.sh +++ b/test_shaders.sh @@ -6,7 +6,7 @@ OPTS=$@ if [ -z "$SPIRV_CROSS_PATH" ]; then echo "Building spirv-cross" - make -j$(nproc) + make -j$(nproc) || exit 1 SPIRV_CROSS_PATH="./spirv-cross" fi