diff options
author | Carl Worth <[email protected]> | 2010-08-11 12:46:16 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2010-08-11 12:46:16 -0700 |
commit | 8485f4d9aa6d98304bb0197dc4f1f357d81d1daa (patch) | |
tree | 6f3571061ebd6a9da7b3dc73303cebd90db865ce /src/glsl/glcpp/tests | |
parent | 764e096647ec8c0f20ea3b5191499af806ad23f8 (diff) |
glcpp: Clean up intermediate file when test suite is interrupted.
The glcpp-test script was leaving around bogus *.valgrind-errors files if
a valgrind test was interrupted.
Diffstat (limited to 'src/glsl/glcpp/tests')
-rwxr-xr-x | src/glsl/glcpp/tests/glcpp-test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/glcpp-test b/src/glsl/glcpp/tests/glcpp-test index c09e8a96b98..2dca848b4a1 100755 --- a/src/glsl/glcpp/tests/glcpp-test +++ b/src/glsl/glcpp/tests/glcpp-test @@ -1,5 +1,7 @@ #!/bin/sh +trap 'rm $test.valgrind-errors; exit 1' INT QUIT + total=0 pass=0 clean=0 |