glsl: add warning-test
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 19 Apr 2016 19:03:07 +0000 (21:03 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 26 May 2016 07:19:17 +0000 (09:19 +0200)
commiteee00274fa330edfa536da039ba9116bdceb9990
tree26ddd92e84022cc4966cdc0078a4b7da81502c58
parent68c23d2d046b6419c7b3bd273278235095e29dae
glsl: add warning-test

It executes compiler-glsl on all the available shaders, and it checks
that the outcome is the expected.

Bash code based on the already existing optimization-test

v2: rebasing: use --version option

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/Makefile.glsl.am
src/compiler/glsl/tests/warnings-test [new file with mode: 0755]