Commit f232a7f4 authored by ncbray@google.com's avatar ncbray@google.com

Enabled nacl_integration tests on the Linux bots.

Added an easy hook for enabling / disabling the tests as needed.

BUG= none
TEST= none


Review URL: http://codereview.chromium.org/7067037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86633 0039d316-1c4b-4281-b951-d872f2087c98
parent 986c8095
...@@ -10,12 +10,20 @@ import sys ...@@ -10,12 +10,20 @@ import sys
def Main(): def Main():
pwd = os.environ.get('PWD', '') pwd = os.environ.get('PWD', '')
# TODO(ncbray): figure out why this is failing on windows and enable. is_integration_bot = 'nacl-chrome' in pwd
if sys.platform in ['win32', 'cygwin'] and 'nacl-chrome' not in pwd: return
# TODO(ncbray): figure out why this is failing on mac and re-enable. if not is_integration_bot:
if sys.platform == 'darwin' and 'nacl-chrome' not in pwd: return # On the main Chrome waterfall, we may need to control where the tests are
# TODO(ncbray): figure out why this is failing on some linux trybots. # run.
if sys.platform in ['linux', 'linux2'] and 'nacl-chrome' not in pwd: return
# TODO(ncbray): enable on all platforms.
if sys.platform in ['win32', 'cygwin']: return
if sys.platform == 'darwin': return
# if sys.platform in ['linux', 'linux2']: return
# Uncomment the following line if there is skew in the PPAPI interface
# and the tests are failing. Comment out once the issues are resolved.
# return
script_dir = os.path.dirname(os.path.abspath(__file__)) script_dir = os.path.dirname(os.path.abspath(__file__))
test_dir = os.path.dirname(script_dir) test_dir = os.path.dirname(script_dir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment