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

Side by Side Diff: tools/run-tests.py

Issue 153773002: A64: Synchronize with r16679. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « tools/gyp/v8.gyp ('k') | tools/v8heapconst.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2012 the V8 project authors. All rights reserved. 3 # Copyright 2012 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 shell_dir = os.path.join(workspace, options.outdir, 292 shell_dir = os.path.join(workspace, options.outdir,
293 "%s.%s" % (arch, mode)) 293 "%s.%s" % (arch, mode))
294 shell_dir = os.path.relpath(shell_dir) 294 shell_dir = os.path.relpath(shell_dir)
295 295
296 # Populate context object. 296 # Populate context object.
297 mode_flags = MODE_FLAGS[mode] 297 mode_flags = MODE_FLAGS[mode]
298 timeout = options.timeout 298 timeout = options.timeout
299 if timeout == -1: 299 if timeout == -1:
300 # Simulators are slow, therefore allow a longer default timeout. 300 # Simulators are slow, therefore allow a longer default timeout.
301 if arch in SLOW_ARCHS: 301 if arch in SLOW_ARCHS:
302 timeout = 3 * TIMEOUT_DEFAULT; 302 timeout = 2 * TIMEOUT_DEFAULT;
303 else: 303 else:
304 timeout = TIMEOUT_DEFAULT; 304 timeout = TIMEOUT_DEFAULT;
305 305
306 timeout *= TIMEOUT_SCALEFACTOR[mode] 306 timeout *= TIMEOUT_SCALEFACTOR[mode]
307 ctx = context.Context(arch, mode, shell_dir, 307 ctx = context.Context(arch, mode, shell_dir,
308 mode_flags, options.verbose, 308 mode_flags, options.verbose,
309 timeout, options.isolates, 309 timeout, options.isolates,
310 options.command_prefix, 310 options.command_prefix,
311 options.extra_flags) 311 options.extra_flags)
312 312
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 except KeyboardInterrupt: 392 except KeyboardInterrupt:
393 return 1 393 return 1
394 394
395 if options.time: 395 if options.time:
396 verbose.PrintTestDurations(suites, overall_duration) 396 verbose.PrintTestDurations(suites, overall_duration)
397 return exit_code 397 return exit_code
398 398
399 399
400 if __name__ == "__main__": 400 if __name__ == "__main__":
401 sys.exit(Main()) 401 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/gyp/v8.gyp ('k') | tools/v8heapconst.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698