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

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

Issue 11364128: Fix running WebKit layout tests by not indenting a continuation. (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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 --chromium 222 --chromium
223 } 223 }
224 224
225 # Run layout tests on an actual device. 225 # Run layout tests on an actual device.
226 function bb_run_webkit_layout_tests { 226 function bb_run_webkit_layout_tests {
227 echo "@@@BUILD_STEP webkit_tests@@@" 227 echo "@@@BUILD_STEP webkit_tests@@@"
228 local BUILDERNAME="$(bb_get_json_prop "$BUILD_PROPERTIES" buildername)" 228 local BUILDERNAME="$(bb_get_json_prop "$BUILD_PROPERTIES" buildername)"
229 local BUILDNUMBER="$(bb_get_json_prop "$BUILD_PROPERTIES" buildnumber)" 229 local BUILDNUMBER="$(bb_get_json_prop "$BUILD_PROPERTIES" buildnumber)"
230 local MASTERNAME="$(bb_get_json_prop "$BUILD_PROPERTIES" mastername)" 230 local MASTERNAME="$(bb_get_json_prop "$BUILD_PROPERTIES" mastername)"
231 local RESULTSERVER=\ 231 local RESULTSERVER=\
232 "$(bb_get_json_prop "$FACTORY_PROPERTIES" test_results_server)" 232 "$(bb_get_json_prop "$FACTORY_PROPERTIES" test_results_server)"
233 233
234 bb_run_step python webkit/tools/layout_tests/run_webkit_tests.py \ 234 bb_run_step python webkit/tools/layout_tests/run_webkit_tests.py \
235 --no-show-results \ 235 --no-show-results \
236 --no-new-test-results \ 236 --no-new-test-results \
237 --full-results-html \ 237 --full-results-html \
238 --clobber-old-results \ 238 --clobber-old-results \
239 --exit-after-n-failures 5000 \ 239 --exit-after-n-failures 5000 \
240 --exit-after-n-crashes-or-timeouts 100 \ 240 --exit-after-n-crashes-or-timeouts 100 \
241 --debug-rwt-logging \ 241 --debug-rwt-logging \
242 --results-directory "../layout-test-results" \ 242 --results-directory "../layout-test-results" \
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 ) 376 )
377 } 377 }
378 378
379 # Retrieve a packed json property using python 379 # Retrieve a packed json property using python
380 function bb_get_json_prop { 380 function bb_get_json_prop {
381 local JSON="$1" 381 local JSON="$1"
382 local PROP="$2" 382 local PROP="$2"
383 383
384 python -c "import json; print json.loads('$JSON').get('$PROP', '')" 384 python -c "import json; print json.loads('$JSON').get('$PROP', '')"
385 } 385 }
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