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

Unified Diff: chrome/test/chromedriver/run_all_tests.py

Issue 11778011: [chromedriver]Add a filter to run a subset of tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/chromedriver/run_java_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/run_all_tests.py
diff --git a/chrome/test/chromedriver/run_all_tests.py b/chrome/test/chromedriver/run_all_tests.py
index a6ca0d1d72e26bdd294bcd1704ae0695fbb23dfd..a393370c4e16dddf4703050cc325b1dd23c34b23 100755
--- a/chrome/test/chromedriver/run_all_tests.py
+++ b/chrome/test/chromedriver/run_all_tests.py
@@ -74,12 +74,12 @@ def Main():
print '@@@BUILD_STEP chromedriver2_python_tests@@@'
cmd = [
sys.executable,
- os.path.join(_THIS_DIR, 'test.py'),
- os.path.join(build_dir, chromedriver),
+ os.path.join(_THIS_DIR, 'run_py_tests.py'),
+ '--chromedriver=' + os.path.join(build_dir, chromedriver),
]
# Set the built chrome binary.
if chrome_binary is not None:
- cmd.append(chrome_binary)
+ cmd.append('--chrome=' + chrome_binary)
if util.IsMac():
# In Mac, chromedriver2.so is a 32-bit build, so run with the 32-bit python.
os.environ['VERSIONER_PYTHON_PREFER_32_BIT'] = 'yes'
@@ -92,11 +92,11 @@ def Main():
cmd = [
sys.executable,
os.path.join(_THIS_DIR, 'run_java_tests.py'),
- '--chromedriver_path=' + os.path.join(build_dir, chromedriver),
+ '--chromedriver=' + os.path.join(build_dir, chromedriver),
]
# Set the built chrome binary.
if chrome_binary is not None:
- cmd.append('--chrome_path=' + chrome_binary)
+ cmd.append('--chrome=' + chrome_binary)
code2 = util.RunCommand(cmd)
if code2 != 0:
print '@@@STEP_FAILURE@@@'
« no previous file with comments | « no previous file | chrome/test/chromedriver/run_java_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698