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

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

Issue 305643007: Fix deopt fuzzer after adding a no_sorting flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 else: 363 else:
364 timeout = TIMEOUT_DEFAULT; 364 timeout = TIMEOUT_DEFAULT;
365 365
366 timeout *= TIMEOUT_SCALEFACTOR[mode] 366 timeout *= TIMEOUT_SCALEFACTOR[mode]
367 ctx = context.Context(arch, mode, shell_dir, 367 ctx = context.Context(arch, mode, shell_dir,
368 mode_flags, options.verbose, 368 mode_flags, options.verbose,
369 timeout, options.isolates, 369 timeout, options.isolates,
370 options.command_prefix, 370 options.command_prefix,
371 options.extra_flags, 371 options.extra_flags,
372 False, 372 False,
373 options.random_seed) 373 options.random_seed,
374 True)
374 375
375 # Find available test suites and read test cases from them. 376 # Find available test suites and read test cases from them.
376 variables = { 377 variables = {
377 "arch": arch, 378 "arch": arch,
378 "asan": options.asan, 379 "asan": options.asan,
379 "deopt_fuzzer": True, 380 "deopt_fuzzer": True,
380 "gc_stress": False, 381 "gc_stress": False,
381 "isolates": options.isolates, 382 "isolates": options.isolates,
382 "mode": mode, 383 "mode": mode,
383 "no_i18n": False, 384 "no_i18n": False,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 463 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
463 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 464 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
464 runner = execution.Runner(suites, progress_indicator, ctx) 465 runner = execution.Runner(suites, progress_indicator, ctx)
465 466
466 code = runner.Run(options.j) 467 code = runner.Run(options.j)
467 return exit_code or code 468 return exit_code or code
468 469
469 470
470 if __name__ == "__main__": 471 if __name__ == "__main__":
471 sys.exit(Main()) 472 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