validate:launcher: Take our timeout factor into account for gstcheck

This commit is contained in:
Thibault Saunier 2019-12-30 10:27:06 -03:00 committed by Thibault Saunier
parent 0b3ce37eea
commit d543375948

View file

@ -284,8 +284,10 @@ class GstCheckTestsManager(MesonTestsManager):
child_env['GST_CHECKS'] = check_name
if self.options.valgrind:
child_env['CK_TIMEOUT_MULTIPLIER'] = str(VALGRIND_TIMEOUT_FACTOR)
child_env['CK_TIMEOUT_MULTIPLIER'] = str(VALGRIND_TIMEOUT_FACTOR * self.options.timeout_factor)
child_env['ORC_CODE'] = 'backup'
else:
child_env['CK_TIMEOUT_MULTIPLIER'] = str(self.options.timeout_factor)
if self.options.gdb:
child_env['CK_FORK'] = "no"