OSDN Git Service

glcpp: Add --valgrind option to the glcpp-test utility
authorCarl Worth <cworth@cworth.org>
Thu, 14 Apr 2011 21:55:52 +0000 (14:55 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 14 Apr 2011 21:55:52 +0000 (14:55 -0700)
commit0b80f2d4c9fd672d75d647104bf0b0fdafec9dda
treeb8acb6a8679685007beaa10d927b8604209beaff
parent6affa4806a74c0f81fefa0be0212ec8574a74f4d
glcpp: Add --valgrind option to the glcpp-test utility

The common case for this test suite is to quickly test that everything
returns the correct results. In this case, the second run of the test
suite under valgrind was just annoying, (and the user would often
interrupt it).

Now, do what is wanted in the common case by default (just run the
test suite), and require a run with "glcpp-test --valgrind" in order
to test with valgrind.
src/glsl/glcpp/tests/glcpp-test