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

Side by Side Diff: chrome/test/install_test/run_install_tests.py

Issue 11272034: Revert 164109 - Revert 164090 - Moved Main class to a new file called run_install_tests.py and modi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « chrome/test/install_test/install_test.py ('k') | chrome/test/install_test/sample_updater.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
Added: svn:mergeinfo
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Runs install and update tests. 6 """Runs install and update tests.
7 7
8 Install tests are performed using a single Chrome build, whereas two or more 8 Install tests are performed using a single Chrome build, whereas two or more
9 builds are needed for Update tests. There are separate command arguments for 9 builds are needed for Update tests. There are separate command arguments for
10 the builds that will be used for each of the tests. If a test file contains 10 the builds that will be used for each of the tests. If a test file contains
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 result = pyauto_utils.GTestTextTestRunner(verbosity=1).run(tests) 191 result = pyauto_utils.GTestTextTestRunner(verbosity=1).run(tests)
192 del(tests) 192 del(tests)
193 if not result.wasSuccessful(): 193 if not result.wasSuccessful():
194 print >>sys.stderr, ('Not all tests were successful.') 194 print >>sys.stderr, ('Not all tests were successful.')
195 sys.exit(1) 195 sys.exit(1)
196 sys.exit(0) 196 sys.exit(0)
197 197
198 198
199 if __name__ == '__main__': 199 if __name__ == '__main__':
200 Main() 200 Main()
OLDNEW
« no previous file with comments | « chrome/test/install_test/install_test.py ('k') | chrome/test/install_test/sample_updater.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698