glsl/tests/warnings-test: correctly manage srcdir/builddir
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 26 Feb 2017 21:24:26 +0000 (21:24 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Mar 2017 14:31:22 +0000 (15:31 +0100)
commit493fa69e374526fc5bf8d6727eb40a1c851a2d01
treec233b46ab755ead933994515862fd8b12eb98772
parent81ccc7a484ae8f9f242a42a80a3d09e6987cc816
glsl/tests/warnings-test: correctly manage srcdir/builddir

Before this commit, we would effectively fail to run any of the test in
a OOT builds.

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/warnings-test.sh