From: Emil Velikov <[email protected]>

... or non-executable, in particular.

Signed-off-by: Emil Velikov <[email protected]>
---
 src/compiler/glsl/tests/warnings-test.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/compiler/glsl/tests/warnings-test.sh 
b/src/compiler/glsl/tests/warnings-test.sh
index 6a52d4064f8..50d760511c0 100755
--- a/src/compiler/glsl/tests/warnings-test.sh
+++ b/src/compiler/glsl/tests/warnings-test.sh
@@ -6,6 +6,11 @@ compiler=./glsl_compiler
 total=0
 pass=0
 
+if [ ! -e "$compiler" ]; then
+    echo "Could not find glsl_compiler. Ensure that it is build via make check"
+    exit 1
+fi
+
 echo "====== Testing compilation output ======"
 for test in `find . -iname '*.vert'`; do
     echo -n "Testing $test..."
-- 
2.11.1

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to