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

Unified Diff: run_remote_tests.sh

Issue 5188002: Remove dependency to autotest_run.sh (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 10 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: run_remote_tests.sh
diff --git a/run_remote_tests.sh b/run_remote_tests.sh
index babbbdceb045f371810f96c7da1063de67f90a65..434e2330842998c73aa6dd4ec20c0e0fa56de9d6 100755
--- a/run_remote_tests.sh
+++ b/run_remote_tests.sh
@@ -276,14 +276,9 @@ function main() {
--ssh-port ${FLAGS_ssh_port} \
${option} ${control_file} -r ${results_dir} ${verbose}"
if [ ${FLAGS_build} -eq ${FLAGS_FALSE} ]; then
- cat > "${TMP}/run_test.sh" <<EOF
-export AUTOSERV_TEST_ARGS="${AUTOSERV_TEST_ARGS}"
-export AUTOSERV_ARGS="${AUTOSERV_ARGS}"
-cd /home/${USER}/trunk/src/scripts
-./autotest_run.sh --board "${FLAGS_board}"
-EOF
- chmod a+rx "${TMP}/run_test.sh"
- ${ENTER_CHROOT} ${TMP_INSIDE_CHROOT}/run_test.sh >&2
+ cd ${autotest_dir}
+ sudo chmod a+w server/{tests,site_tests}
+ LOGNAME=${USER} ./server/autoserv ${AUTOSERV_ARGS} ${AUTOSERV_TEST_ARGS}
kmixter1 2010/11/17 23:59:15 I don't think you can pass AUTOSERV_TEST_ARGS this
else
cp "${BUILD_DIR}/environment" "${TMP}/run_test.sh"
GRAPHICS_BACKEND=${GRAPHICS_BACKEND:-OPENGL}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698