projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c32ccd
)
gst-validate-launcher: disable timeouts when debugging in gdb interactively
author
Alicia Boya García
<ntrrgc@gmail.com>
Fri, 25 May 2018 10:06:22 +0000
(12:06 +0200)
committer
Thibault Saunier
<tsaunier@igalia.com>
Fri, 25 May 2018 10:59:40 +0000
(12:59 +0200)
An interactive debugging session can be going for a long time, we don't
want any timeouts in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=796397
validate/launcher/baseclasses.py
patch
|
blob
|
history
diff --git
a/validate/launcher/baseclasses.py
b/validate/launcher/baseclasses.py
index
a1d209c
..
bac3336
100644
(file)
--- a/
validate/launcher/baseclasses.py
+++ b/
validate/launcher/baseclasses.py
@@
-385,6
+385,11
@@
class Test(Loggable):
if self.hard_timeout is not None:
self.hard_timeout *= GDB_TIMEOUT_FACTOR
self.timeout *= GDB_TIMEOUT_FACTOR
+
+ if not self.options.gdb_non_stop:
+ self.timeout = sys.maxsize
+ self.hard_timeout = sys.maxsize
+
args = ["gdb"]
if self.options.gdb_non_stop:
args += ["-ex", "run", "-ex", "backtrace", "-ex", "quit"]