Skip to content

Commit

Permalink
Add early exit for test_shaders if compilation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb authored Jan 19, 2023
1 parent 4be568c commit e6d1c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_shaders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e6d1c76

Please sign in to comment.