projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Use "make STOP=1 check" to stop on first failure
[jansson.git]
/
test
/
scripts
/
run-tests.sh
diff --git
a/test/scripts/run-tests.sh
b/test/scripts/run-tests.sh
index
4a039e1
..
48dfae8
100644
(file)
--- a/
test/scripts/run-tests.sh
+++ b/
test/scripts/run-tests.sh
@@
-12,6
+12,7
@@
suite_log=$logdir/$suite_name
[ -z "$VERBOSE" ] && VERBOSE=0
+[ -z "$STOP" ] && STOP=0
. $scriptdir/valgrind.sh
@@
-47,6
+48,8
@@
for test_path in $suite_srcdir/*; do
else
echo -n "F"
fi
+
+ [ $STOP -eq 1 ] && break
fi
done