glcpp: Fix test suite to avoid flagging failed tests as valgrind errors.
authorCarl Worth <cworth@cworth.org>
Mon, 23 Aug 2010 17:41:30 +0000 (10:41 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 23 Aug 2010 17:48:10 +0000 (10:48 -0700)
commit21560c40e8aa98624a225752b98babc7ae2938d5
treed51c1e7d67cf977c40cd5bdfa5b1bbc22bad3ba7
parentcf8bb19a114d753bca94f920b87dcf51aa26af99
glcpp: Fix test suite to avoid flagging failed tests as valgrind errors.

We recently added several tests that intentionally trigger
preprocessor errors. During valgrind-based testing, our test script
was noticing the non-zero return value from the preprocessor and
incorrectly flagging the valgrind-based test as failing.

To fix this, we make valgrind return an error code that is otherwise
unused by the preprocessor.
src/glsl/glcpp/tests/glcpp-test