| 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 timeout, options.isolates, | 381 timeout, options.isolates, |
| 382 options.command_prefix, | 382 options.command_prefix, |
| 383 options.extra_flags, | 383 options.extra_flags, |
| 384 False, # Keep i18n on by default. | 384 False, # Keep i18n on by default. |
| 385 options.random_seed, | 385 options.random_seed, |
| 386 True, # No sorting of test cases. | 386 True, # No sorting of test cases. |
| 387 0, # Don't rerun failing tests. | 387 0, # Don't rerun failing tests. |
| 388 0, # No use of a rerun-failing-tests maximum. | 388 0, # No use of a rerun-failing-tests maximum. |
| 389 False, # No predictable mode. | 389 False, # No predictable mode. |
| 390 False, # No no_harness mode. | 390 False, # No no_harness mode. |
| 391 False, # Don't dump WASM module. |
| 392 "", # no WASM module path. |
| 391 False, # Don't use perf data. | 393 False, # Don't use perf data. |
| 392 False) # Coverage not supported. | 394 False) # Coverage not supported. |
| 393 | 395 |
| 394 # Find available test suites and read test cases from them. | 396 # Find available test suites and read test cases from them. |
| 395 variables = { | 397 variables = { |
| 396 "arch": arch, | 398 "arch": arch, |
| 397 "asan": options.asan, | 399 "asan": options.asan, |
| 398 "deopt_fuzzer": True, | 400 "deopt_fuzzer": True, |
| 399 "gc_stress": False, | 401 "gc_stress": False, |
| 400 "gcov_coverage": False, | 402 "gcov_coverage": False, |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 491 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
| 490 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 492 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
| 491 runner = execution.Runner(suites, progress_indicator, ctx) | 493 runner = execution.Runner(suites, progress_indicator, ctx) |
| 492 | 494 |
| 493 code = runner.Run(options.j) | 495 code = runner.Run(options.j) |
| 494 return exit_code or code | 496 return exit_code or code |
| 495 | 497 |
| 496 | 498 |
| 497 if __name__ == "__main__": | 499 if __name__ == "__main__": |
| 498 sys.exit(Main()) | 500 sys.exit(Main()) |
| OLD | NEW |