Merge pull request #2092 from rdb/patch-1
Add early exit for test_shaders if compilation fails
This commit is contained in:
commit
c98ebc0312
@ -6,7 +6,7 @@ OPTS=$@
|
|||||||
|
|
||||||
if [ -z "$SPIRV_CROSS_PATH" ]; then
|
if [ -z "$SPIRV_CROSS_PATH" ]; then
|
||||||
echo "Building spirv-cross"
|
echo "Building spirv-cross"
|
||||||
make -j$(nproc)
|
make -j$(nproc) || exit 1
|
||||||
SPIRV_CROSS_PATH="./spirv-cross"
|
SPIRV_CROSS_PATH="./spirv-cross"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user