summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-20 13:12:32 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-20 13:12:32 +0000
commit2e5f6241bce60b00eeb0d62d45b7c1a28075e132 (patch)
treeca518b01e9033916fb282721c4ef608780eb8c9b
parent47617129918d70c124efca65709b0aa3903f01d7 (diff)
downloadchromium_src-2e5f6241bce60b00eeb0d62d45b7c1a28075e132.zip
chromium_src-2e5f6241bce60b00eeb0d62d45b7c1a28075e132.tar.gz
chromium_src-2e5f6241bce60b00eeb0d62d45b7c1a28075e132.tar.bz2
Allowing Chrome Dev. Adding README note on running Python tests on 64-bit OSX.
Review URL: https://codereview.chromium.org/14369004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195394 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/chromedriver/README.txt6
-rwxr-xr-xchrome/test/chromedriver/chrome/adb_commands.py1
2 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/chromedriver/README.txt b/chrome/test/chromedriver/README.txt
index ab34c90..ab9e95c 100644
--- a/chrome/test/chromedriver/README.txt
+++ b/chrome/test/chromedriver/README.txt
@@ -26,6 +26,12 @@ adb_commands.py and the adb tool from the Android SDK must be set in PATH. For
more detailed instructions see the wiki:
https://code.google.com/p/chromedriver/wiki/ChromeDriver2forAndroid
+NOTE: on 64-bit OSX machines (most modern ones, including laptops) it is
+necessary to set the environment variable VERSIONER_PYTHON_PREFER_32_BIT=yes,
+because the 'chromedriver2.so' library is 32-bit, while on 64-bit OSX machines
+(most modern ones including laptops), python starts as a 64-bit binary by
+default and would not be able to load the library.
+
=====Architecture=====
ChromeDriver is shipped separately from Chrome. It controls Chrome out of
process through DevTools (WebKit Inspector). ChromeDriver is a shared library
diff --git a/chrome/test/chromedriver/chrome/adb_commands.py b/chrome/test/chromedriver/chrome/adb_commands.py
index df22799..a2b2cf2 100755
--- a/chrome/test/chromedriver/chrome/adb_commands.py
+++ b/chrome/test/chromedriver/chrome/adb_commands.py
@@ -27,6 +27,7 @@ PACKAGE_INFO = {
PackageInfo('.ChromiumTestShellActivity',
'chromium_testshell_devtools_remote'),
'com.google.android.apps.chrome': CHROME_INFO,
+ 'com.google.android.apps.chrome_dev': CHROME_INFO,
'com.chrome.dev': CHROME_INFO,
'com.chrome.beta': CHROME_INFO,
'com.android.chrome': CHROME_INFO,