glsl/glcpp: Integrate recent glcpp-test-cr-lf test into "make check"
authorCarl Worth <cworth@cworth.org>
Thu, 3 Jul 2014 20:25:47 +0000 (13:25 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 7 Aug 2014 23:08:29 +0000 (16:08 -0700)
commit318369acebdf6e7c21c0a2b015c648e8e9acbc81
tree2be3542c35b5d40d243186a70ebd153d5fa5b281
parent7ba74c65a77afbfb2da8515fcae51c19618c7b18
glsl/glcpp: Integrate recent glcpp-test-cr-lf test into "make check"

Beyond just listing this in the TESTS variable in Makefile.am, only minor
changes were needed to make this work. The primary issue is that the build
system runs the test script from a different directory than the script
itself. So we have to use the $srcdir variable to find the test input files.

Using $srcdir in this way also ensures that this test works when using an
out-of-tree build.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/.gitignore
src/glsl/Makefile.am
src/glsl/glcpp/tests/.gitignore
src/glsl/glcpp/tests/glcpp-test-cr-lf