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

Side by Side Diff: chrome_frame/tools/smoke_test.py

Issue 8665013: Fix many* python scripts in src/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed chrome_frame/tools/test/page_cycler/cf_cycler.py Created 9 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 | « chrome_frame/tools/helper_shutdown.py ('k') | gpu/command_buffer/build_gles2_cmd_buffer.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 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # 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
3 # found in the LICENSE file. 4 # found in the LICENSE file.
4 '''This script builds and runs the Chrome Frame unit and integration tests, 5 """Builds and runs the Chrome Frame unit and integration tests,
5 the exit status of the scrip is the number of failed tests. 6 the exit status of the scrip is the number of failed tests.
6 ''' 7 """
8
7 import os.path 9 import os.path
8 import sys 10 import sys
9 import win32com.client 11 import win32com.client
10 12
11 13
12 # The top-level source directory. 14 # The top-level source directory.
13 # All other paths in this file are relative to this directory. 15 # All other paths in this file are relative to this directory.
14 _SRC_DIR = os.path.abspath(os.path.join( 16 _SRC_DIR = os.path.abspath(os.path.join(
15 os.path.dirname(__file__), '../..')) 17 os.path.dirname(__file__), '../..'))
16 18
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 exit_status = os.system(test_path) 95 exit_status = os.system(test_path)
94 if exit_status != 0: 96 if exit_status != 0:
95 failed_tests += 1 97 failed_tests += 1
96 print "Test \"%s\" failed with status %d" % (test, exit_status) 98 print "Test \"%s\" failed with status %d" % (test, exit_status)
97 99
98 return failed_tests 100 return failed_tests
99 101
100 102
101 if __name__ == "__main__": 103 if __name__ == "__main__":
102 sys.exit(Main()) 104 sys.exit(Main())
OLDNEW
« no previous file with comments | « chrome_frame/tools/helper_shutdown.py ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698