mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
validate:launcher: Timeout if running gdb takes too much time
This commit is contained in:
parent
f5828b2b5c
commit
8bd0cb13e8
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ class BackTraceGenerator(Loggable):
|
|||
|
||||
try:
|
||||
return subprocess.check_output(
|
||||
gdb, stderr=subprocess.STDOUT).decode()
|
||||
gdb, stderr=subprocess.STDOUT, timeout=30).decode()
|
||||
except Exception as e:
|
||||
return "Could not run `gdb` on process (pid: %d):\n%s" % (
|
||||
test.process.pid, e)
|
||||
|
|
Loading…
Reference in a new issue