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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 if arch in SLOW_ARCHS: | 300 if arch in SLOW_ARCHS: |
301 timeout = 2 * TIMEOUT_DEFAULT; | 301 timeout = 2 * TIMEOUT_DEFAULT; |
302 else: | 302 else: |
303 timeout = TIMEOUT_DEFAULT; | 303 timeout = TIMEOUT_DEFAULT; |
304 | 304 |
305 timeout *= TIMEOUT_SCALEFACTOR[mode] | 305 timeout *= TIMEOUT_SCALEFACTOR[mode] |
306 ctx = context.Context(arch, mode, shell_dir, | 306 ctx = context.Context(arch, mode, shell_dir, |
307 mode_flags, options.verbose, | 307 mode_flags, options.verbose, |
308 timeout, options.isolates, | 308 timeout, options.isolates, |
309 options.command_prefix, | 309 options.command_prefix, |
310 options.extra_flags) | 310 options.extra_flags, |
| 311 options.no_i18n) |
311 | 312 |
312 # Find available test suites and read test cases from them. | 313 # Find available test suites and read test cases from them. |
313 variables = { | 314 variables = { |
314 "mode": mode, | 315 "mode": mode, |
315 "arch": arch, | 316 "arch": arch, |
316 "system": utils.GuessOS(), | 317 "system": utils.GuessOS(), |
317 "isolates": options.isolates, | 318 "isolates": options.isolates, |
318 "deopt_fuzzer": False, | 319 "deopt_fuzzer": False, |
319 } | 320 } |
320 all_tests = [] | 321 all_tests = [] |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 except KeyboardInterrupt: | 389 except KeyboardInterrupt: |
389 return 1 | 390 return 1 |
390 | 391 |
391 if options.time: | 392 if options.time: |
392 verbose.PrintTestDurations(suites, overall_duration) | 393 verbose.PrintTestDurations(suites, overall_duration) |
393 return exit_code | 394 return exit_code |
394 | 395 |
395 | 396 |
396 if __name__ == "__main__": | 397 if __name__ == "__main__": |
397 sys.exit(Main()) | 398 sys.exit(Main()) |
OLD | NEW |