glsl/tests/optimisation-test: make sure that $PYTHON2 is set/available
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 23 Feb 2017 13:15:42 +0000 (13:15 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Mar 2017 14:31:23 +0000 (15:31 +0100)
commit05bc5b35a7b57ca5c8be476b5c0c6ca2e59ef0ba
treeea11515ff607f28b5b95859a97ec6e78c4b55b82
parentbd4be79fc5ba1dfb18ca25d7f2a39cfc9b23fdd2
glsl/tests/optimisation-test: make sure that $PYTHON2 is set/available

Otherwise we'll fail when invoking the script outside of "make check"

v2: use -ne 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