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

Unified Diff: bin/cros_run_vm_update

Issue 6277015: Passes cache location to tests and runs the tests in parallel. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Fix sudo issues again. Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: bin/cros_run_vm_update
diff --git a/bin/cros_run_vm_update b/bin/cros_run_vm_update
index 53617b6f89c67cdf03535fe647f5971cc363d551..05e035683a547e879f50034e021e86351e65974d 100755
--- a/bin/cros_run_vm_update
+++ b/bin/cros_run_vm_update
@@ -16,6 +16,7 @@ DEFINE_string src_image "" \
"Create a delta update by passing in the image on the remote machine."
DEFINE_string stateful_update_flag "" "Flags to pass to stateful update." s
DEFINE_string update_image_path "" "Path of the image to update to." u
+DEFINE_string update_url "" "Full url of an update image."
DEFINE_string vm_image_path "" "Path of the VM image to update from." v
set -e
@@ -24,8 +25,6 @@ set -e
FLAGS "$@" || exit 1
eval set -- "${FLAGS_ARGV}"
-[ -n "${FLAGS_update_image_path}" ] || [ -n "${FLAGS_payload}" ] || \
- die "You must specify a path to an image to use as an update."
[ -n "${FLAGS_vm_image_path}" ] || \
die "You must specify a path to a vm image."
@@ -45,11 +44,12 @@ if [ -n "${FLAGS_proxy_port}" ]; then
fi
$(dirname $0)/../image_to_live.sh \
+ --for_vm \
--remote=127.0.0.1 \
--ssh_port=${FLAGS_ssh_port} \
--stateful_update_flag=${FLAGS_stateful_update_flag} \
--src_image="${FLAGS_src_image}" \
+ --update_url="${FLAGS_update_url}" \
--verify \
- --for_vm \
${IMAGE_ARGS}
« bin/cros_au_test_harness.py ('K') | « bin/cros_au_test_harness.py ('k') | image_to_live.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698