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

Side by Side Diff: utils/unittest_suite.py

Issue 1595019: Merge remote branch 'origin/upstream' into tempbranch (Closed)
Patch Set: Created 10 years, 8 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
« no previous file with comments | « utils/compile_gwt_clients.py ('k') | 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/python -u 1 #!/usr/bin/python -u
2 2
3 import os, sys, unittest, optparse 3 import os, sys, unittest, optparse
4 import common 4 import common
5 from autotest_lib.utils import parallel 5 from autotest_lib.utils import parallel
6 from autotest_lib.client.common_lib.test_utils import unittest as custom_unittes t 6 from autotest_lib.client.common_lib.test_utils import unittest as custom_unittes t
7 7
8 parser = optparse.OptionParser() 8 parser = optparse.OptionParser()
9 parser.add_option("-r", action="store", type="string", dest="start", 9 parser.add_option("-r", action="store", type="string", dest="start",
10 default='', 10 default='',
(...skipping 27 matching lines...) Expand all
38 38
39 REQUIRES_GWT = set(( 39 REQUIRES_GWT = set((
40 'client_compilation_unittest.py', 40 'client_compilation_unittest.py',
41 )) 41 ))
42 42
43 REQUIRES_SIMPLEJSON = set(( 43 REQUIRES_SIMPLEJSON = set((
44 'resources_test.py', 44 'resources_test.py',
45 'serviceHandler_unittest.py', 45 'serviceHandler_unittest.py',
46 )) 46 ))
47 47
48 REQUIRES_AUTH = set ((
49 'trigger_unittest.py',
50 ))
51
48 LONG_RUNTIME = set(( 52 LONG_RUNTIME = set((
49 'barrier_unittest.py', 53 'barrier_unittest.py',
50 'logging_manager_test.py', 54 'logging_manager_test.py',
51 )) 55 ))
52 56
53 LONG_TESTS = (REQUIRES_DJANGO | 57 LONG_TESTS = (REQUIRES_DJANGO |
54 REQUIRES_MYSQLDB | 58 REQUIRES_MYSQLDB |
55 REQUIRES_GWT | 59 REQUIRES_GWT |
56 REQUIRES_SIMPLEJSON | 60 REQUIRES_SIMPLEJSON |
61 REQUIRES_AUTH |
57 LONG_RUNTIME) 62 LONG_RUNTIME)
58 63
59 64
60 ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 65 ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
61 66
62 67
63 class TestFailure(Exception): pass 68 class TestFailure(Exception): pass
64 69
65 70
66 def run_test(mod_names, options): 71 def run_test(mod_names, options):
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 print "\t%s" % error 174 print "\t%s" % error
170 print "Rerun", sys.argv[0], "--debug to see the failure details." 175 print "Rerun", sys.argv[0], "--debug to see the failure details."
171 sys.exit(1) 176 sys.exit(1)
172 else: 177 else:
173 print "All passed!" 178 print "All passed!"
174 sys.exit(0) 179 sys.exit(0)
175 180
176 181
177 if __name__ == "__main__": 182 if __name__ == "__main__":
178 main() 183 main()
OLDNEW
« no previous file with comments | « utils/compile_gwt_clients.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698