projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
764e096
)
glcpp: Clean up intermediate file when test suite is interrupted.
author
Carl Worth
<cworth@cworth.org>
Wed, 11 Aug 2010 19:46:16 +0000
(12:46 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 11 Aug 2010 19:46:16 +0000
(12:46 -0700)
The glcpp-test script was leaving around bogus *.valgrind-errors files if
a valgrind test was interrupted.
src/glsl/glcpp/tests/glcpp-test
patch
|
blob
|
history
diff --git
a/src/glsl/glcpp/tests/glcpp-test
b/src/glsl/glcpp/tests/glcpp-test
index c09e8a96b98fdf0c22ddd52838a7c980bdb6cace..2dca848b4a1006be2031064b1b34a2a0ec95d936 100755
(executable)
--- 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