From 393c17b0cc20c1e72dba4594c928763bef554536 Mon Sep 17 00:00:00 2001 From: Benson Leung Date: Thu, 24 Feb 2011 01:46:14 -0800 Subject: [PATCH] Allow run_remote_tests to learn board instead of default board If no board is specified for run remote tests, learn board from device under test instead of using default board. BUG=none TEST= ./run_remote_tests.sh without --board. Verify detects board and deploys appropriate version for that board. ./run_remote_test.sh with --board x86-mario. Verify that it deploys that specific board, regardless of target. Change-Id: I6e71f0f1bf4b2bcfcd3430b29adc16531c6a8c81 Signed-off-by: Benson Leung Signed-off-by: Chris Sosa Review URL: http://codereview.chromium.org/6580017 --- run_remote_tests.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_remote_tests.sh b/run_remote_tests.sh index 2c6dfd0a1e..df7760d75c 100755 --- a/run_remote_tests.sh +++ b/run_remote_tests.sh @@ -32,11 +32,9 @@ find_common_sh . "${SCRIPT_ROOT}/remote_access.sh" || die "Unable to load remote_access.sh" -get_default_board - DEFINE_string args "" \ "Command line arguments for test. Quoted and space separated if multiple." a -DEFINE_string board "$DEFAULT_BOARD" \ +DEFINE_string board "" \ "The board for which you are building autotest" DEFINE_boolean build ${FLAGS_FALSE} "Build tests while running" b DEFINE_string chroot "${DEFAULT_CHROOT_DIR}" "alternate chroot location" c