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

Unified Diff: src/scripts/run_remote_tests.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/build_autotest.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/run_remote_tests.sh
diff --git a/src/scripts/run_remote_tests.sh b/src/scripts/run_remote_tests.sh
index f16794b6bea5c56702c2bef89aabe770f8b7b51d..2bccc10ecf53c2ce3c67e7c93c768852c59a79e6 100755
--- a/src/scripts/run_remote_tests.sh
+++ b/src/scripts/run_remote_tests.sh
@@ -24,7 +24,6 @@ DEFINE_string machine_desc "" "Machine description used in database"
DEFINE_string build_desc "" "Build description used in database"
DEFINE_string chroot "${DEFAULT_CHROOT_DIR}" "alternate chroot location" c
DEFINE_string results_dir_root "" "alternate root results directory"
-DEFINE_string board "" "Desired board you are running the test against"
function cleanup() {
if [[ $FLAGS_cleanup -eq ${FLAGS_TRUE} ]]; then
@@ -96,6 +95,8 @@ function main() {
exit 1
fi
+ check_board
+
local parse_cmd="$(dirname $0)/../third_party/autotest/files/tko/parse.py"
if [[ ${FLAGS_update_db} -eq ${FLAGS_TRUE} && ! -x "${parse_cmd}" ]]; then
@@ -116,7 +117,7 @@ function main() {
# is just modifying scripts, they take effect without having to wait
# for the laborious build_autotest.sh command.
local original="${GCLIENT_ROOT}/src/third_party/autotest/files"
- local autotest_dir="${FLAGS_chroot}/usr/local/autotest/${FLAGS_board}"
+ local autotest_dir="${FLAGS_chroot}/build/${FLAGS_board}/usr/local/autotest"
update_chroot_autotest "${original}" "${autotest_dir}"
local autoserv="${autotest_dir}/server/autoserv"
« no previous file with comments | « src/scripts/build_autotest.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698