validate:launcher: Do not take CK_DEFAULT_TIMEOUT into account to set the timeout

The timeout is what is set in the meson build definition otherwise we will not behave as 'meson test' which we should avoid
This commit is contained in:
Thibault Saunier 2018-12-06 23:17:29 -03:00
parent 5767d553a6
commit 21e23c72fc

View file

@ -44,9 +44,7 @@ class MesonTest(Test):
child_env.update(test_infos['env'])
self.child_env = child_env
timeout = int(child_env.pop(
'CK_DEFAULT_TIMEOUT', test_infos['timeout']))
timeout = int(test_infos['timeout'])
Test.__init__(self, test_infos['cmd'][0], name, options,
reporter, timeout=timeout, hard_timeout=timeout,
is_parallel=test_infos.get('is_parallel', True),