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

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

Issue 11418116: Failing webkit_unit_tests or TestWebKitAPI shouldn't block running layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | no next file » | 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 # Run tests on an actual device. (Better have one plugged in!) 221 # Run tests on an actual device. (Better have one plugged in!)
222 function bb_run_unit_tests { 222 function bb_run_unit_tests {
223 build/android/run_tests.py --xvfb --verbose 223 build/android/run_tests.py --xvfb --verbose
224 } 224 }
225 225
226 # Run WebKit's test suites: webkit_unit_tests and TestWebKitAPI 226 # Run WebKit's test suites: webkit_unit_tests and TestWebKitAPI
227 function bb_run_webkit_unit_tests { 227 function bb_run_webkit_unit_tests {
228 if [[ $BUILDTYPE = Release ]]; then 228 if [[ $BUILDTYPE = Release ]]; then
229 local BUILDFLAG="--release" 229 local BUILDFLAG="--release"
230 fi 230 fi
231 build/android/run_tests.py --xvfb --verbose $BUILDFLAG -s webkit_unit_tests 231 bb_run_step build/android/run_tests.py --xvfb --verbose $BUILDFLAG \
232 build/android/run_tests.py --xvfb --verbose $BUILDFLAG -s TestWebKitAPI 232 -s webkit_unit_tests
233 bb_run_step build/android/run_tests.py --xvfb --verbose $BUILDFLAG \
234 -s TestWebKitAPI
233 } 235 }
234 236
235 # Lint WebKit's TestExpectation files. 237 # Lint WebKit's TestExpectation files.
236 function bb_lint_webkit_expectation_files { 238 function bb_lint_webkit_expectation_files {
237 echo "@@@BUILD_STEP webkit_lint@@@" 239 echo "@@@BUILD_STEP webkit_lint@@@"
238 bb_run_step python webkit/tools/layout_tests/run_webkit_tests.py \ 240 bb_run_step python webkit/tools/layout_tests/run_webkit_tests.py \
239 --lint-test-files \ 241 --lint-test-files \
240 --chromium 242 --chromium
241 } 243 }
242 244
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 ) 412 )
411 } 413 }
412 414
413 # Retrieve a packed json property using python 415 # Retrieve a packed json property using python
414 function bb_get_json_prop { 416 function bb_get_json_prop {
415 local JSON="$1" 417 local JSON="$1"
416 local PROP="$2" 418 local PROP="$2"
417 419
418 python -c "import json; print json.loads('$JSON').get('$PROP', '')" 420 python -c "import json; print json.loads('$JSON').get('$PROP', '')"
419 } 421 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698