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