tests: fix valgrind script to handle exit value 77 (skip)
authorThomas Haller <thaller@redhat.com>
Wed, 4 Feb 2015 09:34:05 +0000 (10:34 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 6 Feb 2015 11:58:42 +0000 (12:58 +0100)
tools/run-test-valgrind.sh

index 506fff7..84659fc 100755 (executable)
@@ -19,7 +19,7 @@ $LIBTOOL --mode=execute "$VALGRIND" \
        "$TEST"
 RESULT=$?
 
-if [ $RESULT -ne 0 ]; then
+if [ $RESULT -ne 0 -a $RESULT -ne 77 ]; then
        echo "Don't forget to check the valgrind log at '`realpath $LOGFILE`'." >&2
 fi