projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa9586
)
Revert "Try to get automatic backtraces when unit tests crash."
author
Carl Hetherington
<cth@carlh.net>
Sun, 15 Oct 2017 23:19:58 +0000
(
00:19
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 15 Oct 2017 23:19:58 +0000
(
00:19
+0100)
This reverts commit
5fa9586ddcdcf2e5b385738089e18541de23f090
.
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 28be96c7555575f2e803297c7551ef09b1d8fb7e..519e0d8069634d30b6309f2adfb4a8f916dbc6f7 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-452,11
+452,9
@@
def make_manual(target):
def test(target, test):
if target.platform != 'windows':
target.set('LC_ALL', 'C')
- base = 'run/tests '
- if test is not None:
- base += '--run_test=%s' % test
+ cmd = 'run/tests '
if target.debug:
- cmd
= 'gdb -batch -ex "run" -ex "bt" "%s" 2>&1 | grep -v ^"No stack."' % base
-
els
e:
- cmd
= base
+ cmd
+= '--backtrace '
+
if test is not Non
e:
+ cmd
+= '--run_test=%s' % test
target.command(cmd)