-# Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
+# Copyright (c) 2009-2011 Petri Lehtinen <petri@digip.org>
#
# Jansson is free software; you can redistribute it and/or modify
# it under the terms of the MIT license. See LICENSE for details.
[ -z "$VERBOSE" ] && VERBOSE=0
+[ -z "$STOP" ] && STOP=0
. $scriptdir/valgrind.sh
rm -rf $test_log
mkdir -p $test_log
if [ $VERBOSE -eq 1 ]; then
- echo -n "$name... "
+ echo -n "$test_name... "
fi
if run_test; then
else
echo -n "F"
fi
+
+ [ $STOP -eq 1 ] && break
fi
done