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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 else: | 363 else: |
364 timeout = TIMEOUT_DEFAULT; | 364 timeout = TIMEOUT_DEFAULT; |
365 | 365 |
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, | 372 False, |
373 options.random_seed) | 373 options.random_seed, |
| 374 True) |
374 | 375 |
375 # Find available test suites and read test cases from them. | 376 # Find available test suites and read test cases from them. |
376 variables = { | 377 variables = { |
377 "arch": arch, | 378 "arch": arch, |
378 "asan": options.asan, | 379 "asan": options.asan, |
379 "deopt_fuzzer": True, | 380 "deopt_fuzzer": True, |
380 "gc_stress": False, | 381 "gc_stress": False, |
381 "isolates": options.isolates, | 382 "isolates": options.isolates, |
382 "mode": mode, | 383 "mode": mode, |
383 "no_i18n": False, | 384 "no_i18n": False, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 463 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
463 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 464 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
464 runner = execution.Runner(suites, progress_indicator, ctx) | 465 runner = execution.Runner(suites, progress_indicator, ctx) |
465 | 466 |
466 code = runner.Run(options.j) | 467 code = runner.Run(options.j) |
467 return exit_code or code | 468 return exit_code or code |
468 | 469 |
469 | 470 |
470 if __name__ == "__main__": | 471 if __name__ == "__main__": |
471 sys.exit(Main()) | 472 sys.exit(Main()) |
OLD | NEW |