Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: build/android/buildbot_functions.sh

Issue 10332230: Run base_unittests_apk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed nit Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/test/test_stub_android.cc ('k') | build/android/gtest_filter/base_unittests_disabled » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 # Bash functions used by buildbot annotator scripts for the android 6 # Bash functions used by buildbot annotator scripts for the android
7 # build of chromium. Executing this script should not perform actions 7 # build of chromium. Executing this script should not perform actions
8 # other than setting variables and defining of functions. 8 # other than setting variables and defining of functions.
9 9
10 # Number of jobs on the compile line; e.g. make -j"${JOBS}" 10 # Number of jobs on the compile line; e.g. make -j"${JOBS}"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 # Run tests on an actual device. (Better have one plugged in!) 226 # Run tests on an actual device. (Better have one plugged in!)
227 function bb_run_tests { 227 function bb_run_tests {
228 echo "@@@BUILD_STEP Run Tests on actual hardware@@@" 228 echo "@@@BUILD_STEP Run Tests on actual hardware@@@"
229 build/android/run_tests.py --xvfb --verbose 229 build/android/run_tests.py --xvfb --verbose
230 } 230 }
231 231
232 # Run APK tests on an actual device. 232 # Run APK tests on an actual device.
233 function bb_run_apk_tests { 233 function bb_run_apk_tests {
234 echo "@@@BUILD_STEP Run APK Tests on actual hardware@@@" 234 echo "@@@BUILD_STEP Run APK Tests on actual hardware@@@"
235 tempfile=/tmp/tempfile-$$.txt 235 build/android/run_tests.py --xvfb --verbose --apk=True
236 # Filter out STEP_FAILURES, we don't want REDNESS on test failures for now.
237 build/android/run_tests.py --xvfb --verbose --apk=True \
238 | sed 's/@@@STEP_FAILURE@@@//g' | tee $tempfile
239 happy_failure=$(cat $tempfile | grep RUNNER_FAILED | wc -l)
240 if [[ $happy_failure -eq 0 ]] ; then
241 echo "@@@STEP_WARNINGS@@@"
242 fi
243 rm -f $tempfile
244 } 236 }
OLDNEW
« no previous file with comments | « base/test/test_stub_android.cc ('k') | build/android/gtest_filter/base_unittests_disabled » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698