mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
validate:launcher: Set CK_MULTIPLIER=10 in GstCheck tests when using valgrind
Fixes https://gitlab.freedesktop.org/gstreamer/gst-devtools/issues/39
This commit is contained in:
parent
bf12d56f14
commit
6310145a44
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ import concurrent.futures as conc
|
|||
from launcher import config
|
||||
from launcher.utils import printc, Colors
|
||||
from launcher.main import setup_launcher_from_args
|
||||
from launcher.baseclasses import VALGRIND_TIMEOUT_FACTOR
|
||||
|
||||
|
||||
class MesonTest(Test):
|
||||
|
@ -274,6 +275,8 @@ class GstCheckTestsManager(MesonTestsManager):
|
|||
if check_name:
|
||||
child_env['GST_CHECKS'] = check_name
|
||||
|
||||
if self.options.valgrind:
|
||||
child_env['CK_TIMEOUT_MULTIPLIER'] = str(VALGRIND_TIMEOUT_FACTOR)
|
||||
if self.options.gst_check_leak_trace_testnames:
|
||||
if re.findall(self.options.gst_check_leak_trace_testnames, testname):
|
||||
leak_tracer = "leaks"
|
||||
|
|
Loading…
Reference in a new issue