| 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 if arch in SLOW_ARCHS: | 351 if arch in SLOW_ARCHS: |
| 352 timeout = 2 * TIMEOUT_DEFAULT; | 352 timeout = 2 * TIMEOUT_DEFAULT; |
| 353 else: | 353 else: |
| 354 timeout = TIMEOUT_DEFAULT; | 354 timeout = TIMEOUT_DEFAULT; |
| 355 | 355 |
| 356 timeout *= TIMEOUT_SCALEFACTOR[mode] | 356 timeout *= TIMEOUT_SCALEFACTOR[mode] |
| 357 ctx = context.Context(arch, mode, shell_dir, | 357 ctx = context.Context(arch, mode, shell_dir, |
| 358 mode_flags, options.verbose, | 358 mode_flags, options.verbose, |
| 359 timeout, options.isolates, | 359 timeout, options.isolates, |
| 360 options.command_prefix, | 360 options.command_prefix, |
| 361 options.extra_flags) | 361 options.extra_flags, |
| 362 False) |
| 362 | 363 |
| 363 # Find available test suites and read test cases from them. | 364 # Find available test suites and read test cases from them. |
| 364 variables = { | 365 variables = { |
| 365 "mode": mode, | 366 "mode": mode, |
| 366 "arch": arch, | 367 "arch": arch, |
| 367 "system": utils.GuessOS(), | 368 "system": utils.GuessOS(), |
| 368 "isolates": options.isolates, | 369 "isolates": options.isolates, |
| 369 "deopt_fuzzer": True, | 370 "deopt_fuzzer": True, |
| 370 } | 371 } |
| 371 all_tests = [] | 372 all_tests = [] |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 return exit_code | 459 return exit_code |
| 459 | 460 |
| 460 except KeyboardInterrupt: | 461 except KeyboardInterrupt: |
| 461 return 1 | 462 return 1 |
| 462 | 463 |
| 463 return exit_code | 464 return exit_code |
| 464 | 465 |
| 465 | 466 |
| 466 if __name__ == "__main__": | 467 if __name__ == "__main__": |
| 467 sys.exit(Main()) | 468 sys.exit(Main()) |
| OLD | NEW |