From 19d6ce5486bc6272ba0319f8a0e6021fd32a622b Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Mon, 29 Jun 2015 17:55:43 +0100 Subject: [PATCH] manhattan: chaning run_timemout into a parameter and upping default to 10mins --- wlauto/workloads/glbcorp/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wlauto/workloads/glbcorp/__init__.py b/wlauto/workloads/glbcorp/__init__.py index 74c11006..b65f4f68 100644 --- a/wlauto/workloads/glbcorp/__init__.py +++ b/wlauto/workloads/glbcorp/__init__.py @@ -76,8 +76,6 @@ class GlbCorp(ApkWorkload): } } - run_timeout = 3 * 60 - parameters = [ Parameter('times', kind=int, default=1, constraint=lambda x: x > 0, description=('Specifies the number of times the benchmark will be run in a "tight ' @@ -87,6 +85,11 @@ class GlbCorp(ApkWorkload): 'be run. If not specfied, device\'s native resoution will used.')), Parameter('test_id', default='gl_manhattan_off', allowed_values=valid_test_ids, description='ID of the GFXBench test to be run.') + Parameter('run_timeout', kind=int, default=10 * 60, + description=""" + Time out for workload execution. The workload will be killed if it hasn't completed + withint this period. + """), ] aliases = [