drop get_default_board usage
The common code will set up DEFAULT_BOARD for us automatically now.
BUG=None
TEST=`cbuildbot {arm,amd64,x86}-generic-full` works
Change-Id: I28e1e05202480c4b158da0e90bcc654ea9cd1cdb
Reviewed-on: https://gerrit.chromium.org/gerrit/30752
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/cros_run_unit_tests b/cros_run_unit_tests
index a69c768..6716ff9 100755
--- a/cros_run_unit_tests
+++ b/cros_run_unit_tests
@@ -15,8 +15,6 @@
(echo "Must run within chroot" && false) ||
exit 1
-get_default_board
-
# Flags
DEFINE_string board "${DEFAULT_BOARD}" \
"Target board of which tests were built"
diff --git a/cros_run_vm_test b/cros_run_vm_test
index 99f258f..ea67011 100755
--- a/cros_run_vm_test
+++ b/cros_run_vm_test
@@ -13,8 +13,6 @@
. "${SCRIPT_ROOT}/lib/cros_vm_constants.sh" ||
die "Unable to load cros_vm_constants.sh"
-get_default_board
-
DEFINE_string board "$DEFAULT_BOARD" \
"The board for which you built autotest." b
DEFINE_string image_path "" "Full path of the VM image"
diff --git a/run_remote_tests.sh b/run_remote_tests.sh
index 59e941d..89c8c2d 100755
--- a/run_remote_tests.sh
+++ b/run_remote_tests.sh
@@ -9,8 +9,6 @@
. "${CROSUTILS}/common.sh" || exit 1
. "${CROSUTILS}/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 autotest_dir "" \