commit | f429b72298ea61bbbb41dbde8a1df516408a4a1a | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Jul 14 12:56:26 2020 +0100 |
committer | Ben Clayton <bclayton@google.com> | Wed Jul 15 11:59:44 2020 +0100 |
tree | 548f7393228ef84c13cb0daa62aed22f0cea1003 | |
parent | b481744aea1ecf52ee4591afaa0f5e270b9d1636 [diff] |
runtests: Check error codes, set LD_LIBRARY_PATH `glslangValidator` will only return [the codes 0..6](https://github.com/KhronosGroup/glslang/blob/b481744aea1ecf52ee4591afaa0f5e270b9d1636/StandAlone/StandAlone.cpp#L117-L125). Fail the test if anything else is returned (like due to the exe crashing). Also set `LD_LIBRARY_PATH` to contain the `lib` directory before calling glslang.