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..f0f7fc77c974c5f0a83a7583e23fd71c232db572 100755 |
--- a/chrome/test/chromedriver/run_all_tests.py |
+++ b/chrome/test/chromedriver/run_all_tests.py |
@@ -75,11 +75,11 @@ def Main(): |
cmd = [ |
sys.executable, |
os.path.join(_THIS_DIR, 'test.py'), |
- os.path.join(build_dir, chromedriver), |
+ '--chromedriver_path=' + os.path.join(build_dir, chromedriver), |
] |
# Set the built chrome binary. |
if chrome_binary is not None: |
- cmd.append(chrome_binary) |
+ cmd.append('--chrome_path=' + 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' |