[Android] Uploaded instrumentation tests to prod flakiness dashboard.

BUG=150801

Review URL: https://codereview.chromium.org/11943018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@177822 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
frankf@chromium.org 2013-01-19 03:55:22 +00:00
Родитель 047b872a34
Коммит d813498d03
3 изменённых файлов: 6 добавлений и 9 удалений

Просмотреть файл

@ -169,8 +169,8 @@ def RunInstrumentationSuite(options, test):
if options.asan:
args.append('--tool=asan')
if options.upload_to_flakiness_server:
args.append('--flakiness-dashboard-server='
'chrome-android-staging-results.appspot.com')
args.append('--flakiness-dashboard-server=%s' %
constants.UPSTREAM_FLAKINESS_SERVER)
RunCmd(['build/android/run_instrumentation_tests.py'] + args)

Просмотреть файл

@ -15,9 +15,6 @@ from pylib import constants
from pylib.utils import flakiness_dashboard_results_uploader
_STAGING_SERVER = 'chrome-android-staging'
class BaseTestResult(object):
"""A single result from a unit test."""
@ -188,15 +185,13 @@ class TestResults(object):
return
try:
# TODO(frankf): Temp server for initial testing upstream.
# Use http://test-results.appspot.com once we're confident this works.
if _STAGING_SERVER in flakiness_server:
if flakiness_server == constants.UPSTREAM_FLAKINESS_SERVER:
assert test_package in ['ContentShellTest',
'ChromiumTestShellTest',
'AndroidWebViewTest']
dashboard_test_type = ('%s_instrumentation_tests' %
test_package.lower().rstrip('test'))
# Downstream prod server.
# Downstream server.
else:
dashboard_test_type = 'Chromium_Android_Instrumentation'

Просмотреть файл

@ -51,3 +51,5 @@ SCREENSHOTS_DIR = os.path.join(CHROME_DIR, 'out_screenshots')
ANDROID_SDK_VERSION = 17
ANDROID_SDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/sdk')
ANDROID_NDK_ROOT = os.path.join(CHROME_DIR, 'third_party/android_tools/ndk')
UPSTREAM_FLAKINESS_SERVER = 'test-results.appspot.com'