Index: src/scripts/build_autotest.sh |
diff --git a/src/scripts/build_autotest.sh b/src/scripts/build_autotest.sh |
index 540c3857adf885f717a240e1958f93618b606ee2..374a31c37153ef9ecab340ce9ab5cb7b0509cd19 100755 |
--- a/src/scripts/build_autotest.sh |
+++ b/src/scripts/build_autotest.sh |
@@ -24,6 +24,9 @@ DEFAULT_CONTROL=client/site_tests/setup/control |
DEFINE_string control "${DEFAULT_CONTROL}" \ |
"Setup control file -- path relative to the destination autotest directory" c |
+DEFINE_string board "" \ |
+ "The board for which you are building autotest" |
+ |
# More useful help |
FLAGS_HELP="usage: $0 [flags]" |
@@ -34,7 +37,7 @@ set -e |
AUTOTEST_SRC="${GCLIENT_ROOT}/src/third_party/autotest/files" |
# Destination in chroot to install autotest. |
-AUTOTEST_DEST="/usr/local/autotest" |
+AUTOTEST_DEST="/usr/local/autotest/${FLAGS_board}" |
# Copy a local "installation" of autotest into the chroot, to avoid |
# polluting the src dir with tmp files, results, etc. |