projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4ca6b2
)
Fix command line argument.
author
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 11:18:53 +0000
(13:18 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 11:18:53 +0000
(13:18 +0200)
run/tests
patch
|
blob
|
history
diff --git
a/run/tests
b/run/tests
index d6a3ba15f2e4f91b63fb7078e80501875def6fb4..e31a97be0c042c58939ce688c55f182ba300462a 100755
(executable)
--- a/
run/tests
+++ b/
run/tests
@@
-6,7
+6,7
@@
export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH
export DCPOMATIC_LINUX_SHARE_PREFIX=`pwd`
if [ "$1" == "--debug" ]; then
shift;
export DCPOMATIC_LINUX_SHARE_PREFIX=`pwd`
if [ "$1" == "--debug" ]; then
shift;
- gdb --args build/test/unit-tests --catch_system_errors=no --log
-
level=test_suite $*
+ gdb --args build/test/unit-tests --catch_system_errors=no --log
_
level=test_suite $*
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=yes $*
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=yes $*