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

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

Issue 99073002: Experimental scanner: enable mjsunit and cctest. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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 | « no previous file | no next file » | 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 29 matching lines...) Expand all
40 from testrunner.local import execution 40 from testrunner.local import execution
41 from testrunner.local import progress 41 from testrunner.local import progress
42 from testrunner.local import testsuite 42 from testrunner.local import testsuite
43 from testrunner.local import utils 43 from testrunner.local import utils
44 from testrunner.local import verbose 44 from testrunner.local import verbose
45 from testrunner.network import network_execution 45 from testrunner.network import network_execution
46 from testrunner.objects import context 46 from testrunner.objects import context
47 47
48 48
49 ARCH_GUESS = utils.DefaultArch() 49 ARCH_GUESS = utils.DefaultArch()
50 DEFAULT_TESTS = ["lexer"] 50 DEFAULT_TESTS = ["lexer", "mjsunit", "cctest"]
51 TIMEOUT_DEFAULT = 60 51 TIMEOUT_DEFAULT = 60
52 TIMEOUT_SCALEFACTOR = {"debug" : 4, 52 TIMEOUT_SCALEFACTOR = {"debug" : 4,
53 "release" : 1 } 53 "release" : 1 }
54 54
55 # Use this to run several variants of the tests. 55 # Use this to run several variants of the tests.
56 VARIANT_FLAGS = [[]] 56 VARIANT_FLAGS = [[]]
57 MODE_FLAGS = { 57 MODE_FLAGS = {
58 "debug" : [], 58 "debug" : [],
59 "release" : []} 59 "release" : []}
60 60
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 except KeyboardInterrupt: 397 except KeyboardInterrupt:
398 return 1 398 return 1
399 399
400 if options.time: 400 if options.time:
401 verbose.PrintTestDurations(suites, overall_duration) 401 verbose.PrintTestDurations(suites, overall_duration)
402 return exit_code 402 return exit_code
403 403
404 404
405 if __name__ == "__main__": 405 if __name__ == "__main__":
406 sys.exit(Main()) 406 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698