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

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

Issue 371363003: Add predictable mode to test driver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Extra flag. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, # Keep i18n on by default. 372 False, # Keep i18n on by default.
373 options.random_seed, 373 options.random_seed,
374 True, # No sorting of test cases. 374 True, # No sorting of test cases.
375 0, # Don't rerun failing tests. 375 0, # Don't rerun failing tests.
376 0) # No use of a rerun-failing-tests maximum. 376 0, # No use of a rerun-failing-tests maximum.
377 False) # No predictable mode.
377 378
378 # Find available test suites and read test cases from them. 379 # Find available test suites and read test cases from them.
379 variables = { 380 variables = {
380 "arch": arch, 381 "arch": arch,
381 "asan": options.asan, 382 "asan": options.asan,
382 "deopt_fuzzer": True, 383 "deopt_fuzzer": True,
383 "gc_stress": False, 384 "gc_stress": False,
384 "isolates": options.isolates, 385 "isolates": options.isolates,
385 "mode": mode, 386 "mode": mode,
386 "no_i18n": False, 387 "no_i18n": False,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 466 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
466 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 467 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
467 runner = execution.Runner(suites, progress_indicator, ctx) 468 runner = execution.Runner(suites, progress_indicator, ctx)
468 469
469 code = runner.Run(options.j) 470 code = runner.Run(options.j)
470 return exit_code or code 471 return exit_code or code
471 472
472 473
473 if __name__ == "__main__": 474 if __name__ == "__main__":
474 sys.exit(Main()) 475 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698