projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d909e76
)
tests: delete the valgrind logs if they're empty
author
Lubomir Rintel
<lkundrak@v3.sk>
Thu, 4 Jun 2015 10:30:30 +0000
(12:30 +0200)
committer
Lubomir Rintel
<lkundrak@v3.sk>
Thu, 4 Jun 2015 12:29:10 +0000
(14:29 +0200)
tools/run-test-valgrind.sh
patch
|
blob
|
history
diff --git
a/tools/run-test-valgrind.sh
b/tools/run-test-valgrind.sh
index
0cdada7
..
cd53306
100755
(executable)
--- a/
tools/run-test-valgrind.sh
+++ b/
tools/run-test-valgrind.sh
@@
-50,6
+50,9
@@
if [ $RESULT -ne 0 -a $RESULT -ne 77 ]; then
echo Files without debugging symbols: $UNRESOLVED >&2
fi
fi
+ exit $RESULT
fi
+find -name "$LOGFILE" -size 0 -delete
+
exit $RESULT