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

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

Issue 855993003: Add no-test-harness mode to test driver. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 | « test/mjsunit/testcfg.py ('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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 ctx = context.Context(arch, mode, shell_dir, 372 ctx = context.Context(arch, mode, shell_dir,
373 mode_flags, options.verbose, 373 mode_flags, options.verbose,
374 timeout, options.isolates, 374 timeout, options.isolates,
375 options.command_prefix, 375 options.command_prefix,
376 options.extra_flags, 376 options.extra_flags,
377 False, # Keep i18n on by default. 377 False, # Keep i18n on by default.
378 options.random_seed, 378 options.random_seed,
379 True, # No sorting of test cases. 379 True, # No sorting of test cases.
380 0, # Don't rerun failing tests. 380 0, # Don't rerun failing tests.
381 0, # No use of a rerun-failing-tests maximum. 381 0, # No use of a rerun-failing-tests maximum.
382 False) # No predictable mode. 382 False, # No predictable mode.
383 False) # No no_harness mode.
383 384
384 # Find available test suites and read test cases from them. 385 # Find available test suites and read test cases from them.
385 variables = { 386 variables = {
386 "arch": arch, 387 "arch": arch,
387 "asan": options.asan, 388 "asan": options.asan,
388 "deopt_fuzzer": True, 389 "deopt_fuzzer": True,
389 "gc_stress": False, 390 "gc_stress": False,
390 "isolates": options.isolates, 391 "isolates": options.isolates,
391 "mode": mode, 392 "mode": mode,
392 "no_i18n": False, 393 "no_i18n": False,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 475 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
475 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 476 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
476 runner = execution.Runner(suites, progress_indicator, ctx) 477 runner = execution.Runner(suites, progress_indicator, ctx)
477 478
478 code = runner.Run(options.j) 479 code = runner.Run(options.j)
479 return exit_code or code 480 return exit_code or code
480 481
481 482
482 if __name__ == "__main__": 483 if __name__ == "__main__":
483 sys.exit(Main()) 484 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/testcfg.py ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698