glsl/tests/optimization-test: error out if we fail to generate any tests
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 23 Feb 2017 14:53:03 +0000 (14:53 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Mar 2017 14:31:23 +0000 (15:31 +0100)
commit7d2a1394bbdd79d059a4c1dbe96a4e38c9ed34de
treee6a51f413b8601edfab2a01b197030277ea9dd0f
parent86a937d2644adcd724dae58c5212de5358326e9c
glsl/tests/optimization-test: error out if we fail to generate any tests

v2: use -eq over a string comparison (Eric)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/glsl/tests/optimization-test.sh