glcpp/tests/glcpp-test-cr-lf: error out if we cannot find any tests
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:

committed by
Emil Velikov

parent
d8096b75aa
commit
0f9a0cb5f5
@@ -133,6 +133,11 @@ done
|
||||
cp $abs_builddir/glsl/glcpp/tests/subtest-lf/"$base".out subtest-lf-cr/"$base".expected
|
||||
done
|
||||
|
||||
run_test "${glcpp_test} --testdir=subtest-lf-cr"
|
||||
|
||||
if [ $total -eq 0 ]; then
|
||||
echo "Could not find any tests."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
Reference in New Issue
Block a user