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

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

Issue 137423013: [chromedriver] Enable a java test and fix binary path like "~/chrome". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for manual commit Created 6 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 | « chrome/test/chromedriver/test/run_java_tests.py ('k') | chrome/test/chromedriver/test/test_expectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/test/run_py_tests.py
diff --git a/chrome/test/chromedriver/test/run_py_tests.py b/chrome/test/chromedriver/test/run_py_tests.py
index 77c6bdb8f168d5aff9ff44a3d30577bd177b40c4..7a943f95828ee5f229bce9346f911fc7ad19b66b 100755
--- a/chrome/test/chromedriver/test/run_py_tests.py
+++ b/chrome/test/chromedriver/test/run_py_tests.py
@@ -919,6 +919,7 @@ if __name__ == '__main__':
str(_ANDROID_NEGATIVE_FILTER.keys())))
options, args = parser.parse_args()
+ options.chromedriver = util.GetAbsolutePathOfUserPath(options.chromedriver)
if not options.chromedriver or not os.path.exists(options.chromedriver):
parser.error('chromedriver is required or the given path is invalid.' +
'Please run "%s --help" for help' % __file__)
@@ -930,17 +931,17 @@ if __name__ == '__main__':
options.android_package not in _ANDROID_NEGATIVE_FILTER):
parser.error('Invalid --android-package')
- chromedriver_server = server.Server(os.path.abspath(_CHROMEDRIVER_BINARY),
- options.log_path)
+ chromedriver_server = server.Server(_CHROMEDRIVER_BINARY, options.log_path)
global _CHROMEDRIVER_SERVER_URL
_CHROMEDRIVER_SERVER_URL = chromedriver_server.GetUrl()
global _REFERENCE_CHROMEDRIVER
- _REFERENCE_CHROMEDRIVER = options.reference_chromedriver
+ _REFERENCE_CHROMEDRIVER = util.GetAbsolutePathOfUserPath(
+ options.reference_chromedriver)
global _CHROME_BINARY
if options.chrome:
- _CHROME_BINARY = os.path.abspath(options.chrome)
+ _CHROME_BINARY = util.GetAbsolutePathOfUserPath(options.chrome)
else:
_CHROME_BINARY = None
« no previous file with comments | « chrome/test/chromedriver/test/run_java_tests.py ('k') | chrome/test/chromedriver/test/test_expectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698