mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate:launcher: Avoid forking when running gstcheck tests in gdb
This commit is contained in:
parent
8639dc528c
commit
ebf0844d2c
1 changed files with 4 additions and 0 deletions
|
@ -285,6 +285,10 @@ class GstCheckTestsManager(MesonTestsManager):
|
||||||
|
|
||||||
if self.options.valgrind:
|
if self.options.valgrind:
|
||||||
child_env['CK_TIMEOUT_MULTIPLIER'] = str(VALGRIND_TIMEOUT_FACTOR)
|
child_env['CK_TIMEOUT_MULTIPLIER'] = str(VALGRIND_TIMEOUT_FACTOR)
|
||||||
|
|
||||||
|
if self.options.gdb:
|
||||||
|
child_env['CK_FORK'] = "no"
|
||||||
|
|
||||||
if self.options.gst_check_leak_trace_testnames:
|
if self.options.gst_check_leak_trace_testnames:
|
||||||
if re.findall(self.options.gst_check_leak_trace_testnames, testname):
|
if re.findall(self.options.gst_check_leak_trace_testnames, testname):
|
||||||
leak_tracer = "leaks"
|
leak_tracer = "leaks"
|
||||||
|
|
Loading…
Reference in a new issue