| OLD | NEW |
| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 False, # No no_harness mode. |
| 384 False) # Don't use perf data. |
| 384 | 385 |
| 385 # Find available test suites and read test cases from them. | 386 # Find available test suites and read test cases from them. |
| 386 variables = { | 387 variables = { |
| 387 "arch": arch, | 388 "arch": arch, |
| 388 "asan": options.asan, | 389 "asan": options.asan, |
| 389 "deopt_fuzzer": True, | 390 "deopt_fuzzer": True, |
| 390 "gc_stress": False, | 391 "gc_stress": False, |
| 391 "ignition": False, | 392 "ignition": False, |
| 392 "isolates": options.isolates, | 393 "isolates": options.isolates, |
| 393 "mode": mode, | 394 "mode": mode, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 480 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
| 480 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 481 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
| 481 runner = execution.Runner(suites, progress_indicator, ctx) | 482 runner = execution.Runner(suites, progress_indicator, ctx) |
| 482 | 483 |
| 483 code = runner.Run(options.j) | 484 code = runner.Run(options.j) |
| 484 return exit_code or code | 485 return exit_code or code |
| 485 | 486 |
| 486 | 487 |
| 487 if __name__ == "__main__": | 488 if __name__ == "__main__": |
| 488 sys.exit(Main()) | 489 sys.exit(Main()) |
| OLD | NEW |