Always run device_status_check in android bb_tests

chromium.perf bots don't run any tests through bb_tests, so they
stopped running device_status_check.  Fix this by running
device_status_check always if bb_tests is called.

R=cmp
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175856 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
ilevy@chromium.org 2013-01-09 19:41:25 +00:00
Родитель 32df65ca7c
Коммит b1df01b155
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -153,6 +153,9 @@ def RunWebkitLayoutTests(options):
def MainTestWrapper(options):
# Device check and alert emails
RunCmd(['build/android/device_status_check.py'], flunk_on_failure=False)
if options.install:
test_obj = INSTRUMENTATION_TESTS[options.install]
InstallApk(test_obj.apk, test_obj.apk_package, options.target)
@ -160,9 +163,6 @@ def MainTestWrapper(options):
if not options.test_filter:
return
# Device check and alert emails
RunCmd(['build/android/device_status_check.py'], flunk_on_failure=False)
# Spawn logcat monitor
logcat_dir = os.path.join(CHROME_SRC, 'out/logcat')
shutil.rmtree(logcat_dir, ignore_errors=True)