Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: tools/run-tests.py

Issue 23792008: Skip intl tests from test262 when intl support is disabled. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | tools/testrunner/objects/context.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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())
OLDNEW
« no previous file with comments | « tools/run-deopt-fuzzer.py ('k') | tools/testrunner/objects/context.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698