diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-15 22:28:13 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-15 22:28:13 +0000 |
commit | f063eaacf2b78e7a57b7e503e9eceeffd327e4e9 (patch) | |
tree | 21f66299906a5bbaa9b5b1d9ca93185ed23c5488 /chrome/test/webdriver | |
parent | d5675ee0b6c3e1690527344c4b8a99eb79575e4c (diff) | |
download | chromium_src-f063eaacf2b78e7a57b7e503e9eceeffd327e4e9.zip chromium_src-f063eaacf2b78e7a57b7e503e9eceeffd327e4e9.tar.gz chromium_src-f063eaacf2b78e7a57b7e503e9eceeffd327e4e9.tar.bz2 |
Add script for running all chromedriver2 e2e tests.
Also, fix pythonpaths for old chromedriver tests by prepending instead of appending 'chrome/test/pylib'. Otherwise the buildbot 'common' module is picked up.
BUG=none
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11293191
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver')
-rwxr-xr-x | chrome/test/webdriver/test/run_chromedriver_tests.py | 2 | ||||
-rwxr-xr-x | chrome/test/webdriver/test/run_webdriver_java_tests.py | 2 | ||||
-rwxr-xr-x | chrome/test/webdriver/test/run_webdriver_tests.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/webdriver/test/run_chromedriver_tests.py b/chrome/test/webdriver/test/run_chromedriver_tests.py index 76e4809..aa55c8b 100755 --- a/chrome/test/webdriver/test/run_chromedriver_tests.py +++ b/chrome/test/webdriver/test/run_chromedriver_tests.py @@ -16,7 +16,7 @@ import unittest import test_paths sys.path += [test_paths.PYTHON_BINDINGS] -sys.path.append(os.path.join( +sys.path.insert(0, os.path.join( os.path.dirname(__file__), os.pardir, os.pardir, 'pylib')) from chromedriver_test import ChromeDriverTest diff --git a/chrome/test/webdriver/test/run_webdriver_java_tests.py b/chrome/test/webdriver/test/run_webdriver_java_tests.py index 6234adf..fe358dd 100755 --- a/chrome/test/webdriver/test/run_webdriver_java_tests.py +++ b/chrome/test/webdriver/test/run_webdriver_java_tests.py @@ -15,7 +15,7 @@ import optparse import os import sys -sys.path.append(os.path.join( +sys.path.insert(0, os.path.join( os.path.dirname(__file__), os.pardir, os.pardir, 'pylib')) from common import chrome_paths diff --git a/chrome/test/webdriver/test/run_webdriver_tests.py b/chrome/test/webdriver/test/run_webdriver_tests.py index 16f9f53..e930a27 100755 --- a/chrome/test/webdriver/test/run_webdriver_tests.py +++ b/chrome/test/webdriver/test/run_webdriver_tests.py @@ -10,7 +10,7 @@ import sys import types import unittest -sys.path.append(os.path.join( +sys.path.insert(0, os.path.join( os.path.dirname(__file__), os.pardir, os.pardir, 'pylib')) from chromedriver_launcher import ChromeDriverLauncher |