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

Side by Side Diff: run_remote_tests.sh

Issue 3536018: Fixes for cbuild to work with ctest. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Fixes for petkov Created 10 years, 2 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 | « image_to_vm.sh ('k') | 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 2
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Script to run client or server tests on a live remote image. 7 # Script to run client or server tests on a live remote image.
8 8
9 # Load common constants. This should be the first executable line. 9 # Load common constants. This should be the first executable line.
10 # The path to common.sh should be relative to your script's location. 10 # The path to common.sh should be relative to your script's location.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 control_file="${control_file:${#chrome_autotests}+1}" 268 control_file="${control_file:${#chrome_autotests}+1}"
269 echo_color "yellow" ">>> Running chrome autotest " ${control_file} 269 echo_color "yellow" ">>> Running chrome autotest " ${control_file}
270 fi 270 fi
271 if [[ -n "${FLAGS_args}" ]]; then 271 if [[ -n "${FLAGS_args}" ]]; then
272 passthrough_args="--args=${FLAGS_args}" 272 passthrough_args="--args=${FLAGS_args}"
273 fi 273 fi
274 274
275 ${enter_chroot} ${autotest} --board "${FLAGS_board}" -m "${FLAGS_remote}" \ 275 ${enter_chroot} ${autotest} --board "${FLAGS_board}" -m "${FLAGS_remote}" \
276 --ssh-port ${FLAGS_ssh_port} \ 276 --ssh-port ${FLAGS_ssh_port} \
277 "${option}" "${control_file}" -r "${results_dir}" ${verbose} \ 277 "${option}" "${control_file}" -r "${results_dir}" ${verbose} \
278 "${passthrough_args}" 278 "${passthrough_args}" >&2
279 done 279 done
280 280
281 echo "" 281 echo ""
282 echo_color "yellow" ">>> Test results:" 282 echo_color "yellow" ">>> Test results:"
283 ./generate_test_report "${TMP}" --strip="${TMP}/" 283 ./generate_test_report "${TMP}" --strip="${TMP}/"
284
285 print_time_elapsed
284 } 286 }
285 287
286 main "$@" 288 main "$@"
OLDNEW
« no previous file with comments | « image_to_vm.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698