From e2612aa0e85a3dd2e1060d24c8bc558e66939ac2 Mon Sep 17 00:00:00 2001 From: ncteisen Date: Tue, 19 Dec 2017 15:00:35 -0800 Subject: [PATCH] Use correct timeout for benchmarks --- tools/run_tests/run_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index bd5b8644b39..3aa9eb87c77 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -385,7 +385,9 @@ class CLanguage(object): shortname='%s %s' % (' '.join(cmdline), shortname_ext), cpu_cost=cpu_cost, - timeout_seconds=_DEFAULT_TIMEOUT_SECONDS * + timeout_seconds=target.get( + 'timeout_seconds', + _DEFAULT_TIMEOUT_SECONDS) * timeout_scaling, environ=env)) elif 'gtest' in target and target['gtest']: