glsl/tests: Handle no-exec errors
authorDylan Baker <dylan@pnwbakers.com>
Mon, 7 Oct 2019 20:03:58 +0000 (13:03 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 10 Oct 2019 23:33:05 +0000 (16:33 -0700)
commit638868bbff5fca0263df3d8fa400f980fb738e10
tree6cde0c566a633e4cfecddc87059a51460ea6329d
parent1bf5e5a011a53cdb561eb2d66163c05aacba7a2c
glsl/tests: Handle no-exec errors

Currently meson doesn't correctly handle passing compiled binaries to
scripts in tests. This patch looks to the future (0.53) when meson will
have this functionality, but also immediately it fixes these tests in
cross compiles by causing them to return 77, which meson interprets as
skip.

Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
src/compiler/glsl/tests/optimization_test.py
src/compiler/glsl/tests/warnings_test.py