summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/tests/glcpp-test
AgeCommit message (Collapse)Author
2010-08-23glcpp: Fix test suite to avoid flagging failed tests as valgrind errors.Carl Worth
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.
2010-08-11glcpp-test: Capture the stderr output of the preprocessor.Carl Worth
This allows writing tests that verify diagnostics from the preprocessor.
2010-08-11glcpp: Clean up intermediate file when test suite is interrupted.Carl Worth
The glcpp-test script was leaving around bogus *.valgrind-errors files if a valgrind test was interrupted.
2010-08-10glcpp: Discard output of cmp when running the test suite.Carl Worth
We're already using the return-value of cmp to print either PASS or FAIL and in the case of failure, we're subsequently running and showing the output of diff. So any warnings/errors from cmp itself are not actually needed, and can be quite confusing.
2010-07-20glcpp: Make test suite test for valgrind cleanliness.Carl Worth
As it turns out, 4 of our current tests are not valgrind clean, (use after free errors or so), so this will be helpful for investigating and fixing those.
2010-07-20glcpp: Make test suite report final count of passed/total tests.Carl Worth
And report PASS or FAIL for each test along the way as well.
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt