Chromium Code Reviews| 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} |