projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git]
/
run
/
tests
diff --git
a/run/tests
b/run/tests
index b8bb094a0690ded6e8df61bc8a8ce8e277cde936..3f465a4334b6c27be2015c90d36e0243769457e6 100755
(executable)
--- a/
run/tests
+++ b/
run/tests
@@
-9,10
+9,11
@@
if [ "$1" == "--debug" ]; then
gdb --args build/test/unit-tests --catch_system_errors=no $*
elif [ "$1" == "--backtrace" ]; then
shift;
gdb --args build/test/unit-tests --catch_system_errors=no $*
elif [ "$1" == "--backtrace" ]; then
shift;
- gdb -batch -ex "run" -ex "thread apply all bt" -return-child-result --args build/test/unit-tests --catch_system_errors=
no
$*
+ gdb -batch -ex "run" -ex "thread apply all bt" -return-child-result --args build/test/unit-tests --catch_system_errors=
yes
$*
elif [ "$1" == "--valgrind" ]; then
shift;
elif [ "$1" == "--valgrind" ]; then
shift;
- valgrind --tool="memcheck" --leak-check=full build/test/unit-tests $*
+# valgrind --tool="memcheck" --vgdb=yes --vgdb-error=0 build/test/unit-tests $*
+ valgrind --tool="memcheck" --suppressions=suppressions build/test/unit-tests $*
elif [ "$1" == "--callgrind" ]; then
shift;
valgrind --tool="callgrind" build/test/unit-tests $*
elif [ "$1" == "--callgrind" ]; then
shift;
valgrind --tool="callgrind" build/test/unit-tests $*
@@
-20,6
+21,7
@@
elif [ "$1" == "--quiet" ]; then
shift;
build/test/unit-tests --catch_system_errors=no $*
else
shift;
build/test/unit-tests --catch_system_errors=no $*
else
+ ulimit -c unlimited
build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
# build/test/unit-tests --catch_system_errors=no $*
fi
build/test/unit-tests --catch_system_errors=no --log_level=test_suite $*
# build/test/unit-tests --catch_system_errors=no $*
fi