mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +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:
|
try:
|
||||||
return subprocess.check_output(
|
return subprocess.check_output(
|
||||||
gdb, stderr=subprocess.STDOUT).decode()
|
gdb, stderr=subprocess.STDOUT, timeout=30).decode()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return "Could not run `gdb` on process (pid: %d):\n%s" % (
|
return "Could not run `gdb` on process (pid: %d):\n%s" % (
|
||||||
test.process.pid, e)
|
test.process.pid, e)
|
||||||
|
|
Loading…
Reference in a new issue