[Mesa-dev] [PATCH v2 23/23] glcpp/tests/glcpp-test-cr-lf: error out if we cannot find any tests
Emil Velikov
emil.l.velikov at gmail.com
Fri Mar 17 13:19:49 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh
index f0043adba10..c1e39290d39 100755
--- a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh
+++ b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh
@@ -133,6 +133,11 @@ done
run_test "${glcpp_test} --testdir=subtest-lf-cr"
+if [ $total -eq 0 ]; then
+ echo "Could not find any tests."
+ exit 1
+fi
+
echo ""
echo "$pass/$total tests returned correct results"
echo ""
--
2.11.1
More information about the mesa-dev
mailing list