Add build flag for iterative vm testing.

Change-Id: Ib8258b33f87aeadfbaee145bdf7ab460af66c39f

BUG=N0ne
TEST=Ran it with --build

Review URL: http://codereview.chromium.org/6368129
This commit is contained in:
Chris Sosa 2011-02-22 17:56:14 -08:00
parent 18d5703fd7
commit 519a6560e4

View File

@ -34,7 +34,8 @@ find_common_sh
get_default_board
DEFINE_string board "$DEFAULT_BOARD" \
"The board for which you built autotest." b
"The board for which you built autotest."
DEFINE_boolean build ${FLAGS_FALSE} "Build tets while running" b
DEFINE_string image_path "" "Full path of the VM image"
DEFINE_string results_dir_root "" "alternate root results directory"
DEFINE_string test_case "" "Name of the test case to run"
@ -101,8 +102,13 @@ if [ -n "${FLAGS_verify_chrome_version}" ]; then
fi
fi
# Set the build flag for run_remote_tests.
BUILD_FLAG=""
[ ${FLAGS_build}-eq ${FLAGS_true} ] && BUILD_FLAG="--build"
"${SCRIPTS_DIR}/run_remote_tests.sh" \
--board=${FLAGS_board} \
${BUILD_FLAG} \
--ssh_port=${FLAGS_ssh_port} \
--remote=127.0.0.1 \
--results_dir_root="${FLAGS_results_dir_root}" \