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

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

Issue 1347073004: Deopt fuzzer runner fix after https://codereview.chromium.org/1352803002 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 #!/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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 "isolates": options.isolates, 391 "isolates": options.isolates,
392 "mode": mode, 392 "mode": mode,
393 "no_i18n": False, 393 "no_i18n": False,
394 "no_snap": False, 394 "no_snap": False,
395 "simulator": utils.UseSimulator(arch), 395 "simulator": utils.UseSimulator(arch),
396 "system": utils.GuessOS(), 396 "system": utils.GuessOS(),
397 "tsan": False, 397 "tsan": False,
398 "msan": False, 398 "msan": False,
399 "dcheck_always_on": options.dcheck_always_on, 399 "dcheck_always_on": options.dcheck_always_on,
400 "novfp3": False, 400 "novfp3": False,
401 "predictable": False,
401 "byteorder": sys.byteorder, 402 "byteorder": sys.byteorder,
402 } 403 }
403 all_tests = [] 404 all_tests = []
404 num_tests = 0 405 num_tests = 0
405 test_id = 0 406 test_id = 0
406 407
407 # Remember test case prototypes for the fuzzing phase. 408 # Remember test case prototypes for the fuzzing phase.
408 test_backup = dict((s, []) for s in suites) 409 test_backup = dict((s, []) for s in suites)
409 410
410 for s in suites: 411 for s in suites:
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 478 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
478 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 479 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
479 runner = execution.Runner(suites, progress_indicator, ctx) 480 runner = execution.Runner(suites, progress_indicator, ctx)
480 481
481 code = runner.Run(options.j) 482 code = runner.Run(options.j)
482 return exit_code or code 483 return exit_code or code
483 484
484 485
485 if __name__ == "__main__": 486 if __name__ == "__main__":
486 sys.exit(Main()) 487 sys.exit(Main())
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