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

Unified Diff: src/scripts/build_autotest.sh

Issue 606054: Change run_remote_tests from portage build env. (Closed)
Patch Set: patch 6, fix merge problem. Created 10 years, 10 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
« no previous file with comments | « src/scripts/autotest_lib.sh ('k') | src/scripts/run_remote_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_autotest.sh
diff --git a/src/scripts/build_autotest.sh b/src/scripts/build_autotest.sh
index c7d0a86b52a4da94953b95fcca708b296813b071..24c8eca15da23f97a8edae22b0343d6c94f2d4a3 100755
--- a/src/scripts/build_autotest.sh
+++ b/src/scripts/build_autotest.sh
@@ -12,14 +12,13 @@
# install the compiled client tests directly onto the rootfs image.
. "$(dirname "$0")/common.sh"
+. "$(dirname $0)/autotest_lib.sh"
# Script must be run inside the chroot
assert_inside_chroot
DEFAULT_TESTS_LIST="all"
-DEFINE_string board "" \
- "The board for which you are building autotest"
DEFINE_string build "${DEFAULT_TESTS_LIST}" \
"a comma seperated list of autotest client tests to be prebuilt." b
DEFINE_boolean prompt $FLAGS_TRUE "Prompt user when building all tests"
@@ -32,18 +31,7 @@ FLAGS "$@" || exit 1
eval set -- "${FLAGS_ARGV}"
set -e
-
-if [ -z ${FLAGS_board} ]
-then
- echo "You are required to specify a board name from the command line."
- echo "Supported boards are:"
- for board in ../overlays/overlay-*
- do
- echo ${board:20}
- done
- exit 0
-fi
-
+check_board
# build default pre-compile client tests list.
ALL_TESTS="compilebench,dbench,disktest,ltp,unixbench"
@@ -59,8 +47,8 @@ if [ ${FLAGS_build} == ${DEFAULT_TESTS_LIST} ]
then
if [ ${FLAGS_prompt} -eq ${FLAGS_TRUE} ]
then
- echo -n "You want to prebuild all client tests and it may take a long time "
- echo "to finish. "
+ echo -n "You want to pre-build all client tests and it may take a long time"
+ echo " to finish. "
read -p "Are you sure you want to continue?(N/y)" answer
answer=${answer:0:1}
if [ "${answer}" != "Y" ] && [ "${answer}" != "y" ]
« no previous file with comments | « src/scripts/autotest_lib.sh ('k') | src/scripts/run_remote_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698