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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 True, |
375 0, | |
Jakob Kummerow
2014/07/02 07:27:26
nit: may want to add a comment what the False/True
Michael Achenbach
2014/07/02 08:06:32
Done.
| |
376 0) | |
375 | 377 |
376 # Find available test suites and read test cases from them. | 378 # Find available test suites and read test cases from them. |
377 variables = { | 379 variables = { |
378 "arch": arch, | 380 "arch": arch, |
379 "asan": options.asan, | 381 "asan": options.asan, |
380 "deopt_fuzzer": True, | 382 "deopt_fuzzer": True, |
381 "gc_stress": False, | 383 "gc_stress": False, |
382 "isolates": options.isolates, | 384 "isolates": options.isolates, |
383 "mode": mode, | 385 "mode": mode, |
384 "no_i18n": False, | 386 "no_i18n": False, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
463 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) | 465 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) |
464 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() | 466 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() |
465 runner = execution.Runner(suites, progress_indicator, ctx) | 467 runner = execution.Runner(suites, progress_indicator, ctx) |
466 | 468 |
467 code = runner.Run(options.j) | 469 code = runner.Run(options.j) |
468 return exit_code or code | 470 return exit_code or code |
469 | 471 |
470 | 472 |
471 if __name__ == "__main__": | 473 if __name__ == "__main__": |
472 sys.exit(Main()) | 474 sys.exit(Main()) |
OLD | NEW |