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

Side by Side Diff: tools/run-deopt-fuzzer.py

Issue 142693005: A64: Synchronize with r16918. (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/run-tests.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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 if arch in SLOW_ARCHS: 351 if arch in SLOW_ARCHS:
352 timeout = 2 * TIMEOUT_DEFAULT; 352 timeout = 2 * TIMEOUT_DEFAULT;
353 else: 353 else:
354 timeout = TIMEOUT_DEFAULT; 354 timeout = TIMEOUT_DEFAULT;
355 355
356 timeout *= TIMEOUT_SCALEFACTOR[mode] 356 timeout *= TIMEOUT_SCALEFACTOR[mode]
357 ctx = context.Context(arch, mode, shell_dir, 357 ctx = context.Context(arch, mode, shell_dir,
358 mode_flags, options.verbose, 358 mode_flags, options.verbose,
359 timeout, options.isolates, 359 timeout, options.isolates,
360 options.command_prefix, 360 options.command_prefix,
361 options.extra_flags) 361 options.extra_flags,
362 False)
362 363
363 # Find available test suites and read test cases from them. 364 # Find available test suites and read test cases from them.
364 variables = { 365 variables = {
365 "mode": mode, 366 "mode": mode,
366 "arch": arch, 367 "arch": arch,
367 "system": utils.GuessOS(), 368 "system": utils.GuessOS(),
368 "isolates": options.isolates, 369 "isolates": options.isolates,
369 "deopt_fuzzer": True, 370 "deopt_fuzzer": True,
371 "no_i18n": False,
370 } 372 }
371 all_tests = [] 373 all_tests = []
372 num_tests = 0 374 num_tests = 0
373 test_id = 0 375 test_id = 0
374 376
375 # Remember test case prototypes for the fuzzing phase. 377 # Remember test case prototypes for the fuzzing phase.
376 test_backup = dict((s, []) for s in suites) 378 test_backup = dict((s, []) for s in suites)
377 379
378 for s in suites: 380 for s in suites:
379 s.ReadStatusFile(variables) 381 s.ReadStatusFile(variables)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 return exit_code 460 return exit_code
459 461
460 except KeyboardInterrupt: 462 except KeyboardInterrupt:
461 return 1 463 return 1
462 464
463 return exit_code 465 return exit_code
464 466
465 467
466 if __name__ == "__main__": 468 if __name__ == "__main__":
467 sys.exit(Main()) 469 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/gyp/v8.gyp ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698