Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: tools/testrunner/local/execution.py

Issue 1228073002: [test] Raise timeout for testing without vfp3. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 print("PerfData exception: %s" % e) 97 print("PerfData exception: %s" % e)
98 self.perf_failures = True 98 self.perf_failures = True
99 99
100 def _GetJob(self, test): 100 def _GetJob(self, test):
101 command = self.GetCommand(test) 101 command = self.GetCommand(test)
102 timeout = self.context.timeout 102 timeout = self.context.timeout
103 if ("--stress-opt" in test.flags or 103 if ("--stress-opt" in test.flags or
104 "--stress-opt" in self.context.mode_flags or 104 "--stress-opt" in self.context.mode_flags or
105 "--stress-opt" in self.context.extra_flags): 105 "--stress-opt" in self.context.extra_flags):
106 timeout *= 4 106 timeout *= 4
107 if "--noenable-vfp3" in self.context.extra_flags:
108 timeout *= 2
107 # FIXME(machenbach): Make this more OO. Don't expose default outcomes or 109 # FIXME(machenbach): Make this more OO. Don't expose default outcomes or
108 # the like. 110 # the like.
109 if statusfile.IsSlow(test.outcomes or [statusfile.PASS]): 111 if statusfile.IsSlow(test.outcomes or [statusfile.PASS]):
110 timeout *= 2 112 timeout *= 2
111 if test.dependency is not None: 113 if test.dependency is not None:
112 dep_command = [ c.replace(test.path, test.dependency) for c in command ] 114 dep_command = [ c.replace(test.path, test.dependency) for c in command ]
113 else: 115 else:
114 dep_command = None 116 dep_command = None
115 return Job(command, dep_command, test.id, timeout, self.context.verbose) 117 return Job(command, dep_command, test.id, timeout, self.context.verbose)
116 118
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 test.suite.GetFlagsForTestCase(test, self.context) + 287 test.suite.GetFlagsForTestCase(test, self.context) +
286 self.context.extra_flags) 288 self.context.extra_flags)
287 return cmd 289 return cmd
288 290
289 291
290 class BreakNowException(Exception): 292 class BreakNowException(Exception):
291 def __init__(self, value): 293 def __init__(self, value):
292 self.value = value 294 self.value = value
293 def __str__(self): 295 def __str__(self):
294 return repr(self.value) 296 return repr(self.value)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698