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

Unified Diff: src/scripts/build_autotest.sh

Issue 578027: Make run_remote_tests also update the chroot autotest (Closed)
Patch Set: 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 632eb608b21e9815a98469ee510ed894b3668bf2..6e81a04d0adb72a533107587ffff261fcc96fc32 100755
--- a/src/scripts/build_autotest.sh
+++ b/src/scripts/build_autotest.sh
@@ -14,6 +14,7 @@
# mod_image_for_test.sh.
. "$(dirname "$0")/common.sh"
+. "$(dirname "$0")/autotest_lib.sh"
# Script must be run inside the chroot
assert_inside_chroot
@@ -37,12 +38,7 @@ AUTOTEST_DEST="/usr/local/autotest"
# Copy a local "installation" of autotest into the chroot, to avoid
# polluting the src dir with tmp files, results, etc.
-echo "Installing Autotest..."
-sudo mkdir -p ${AUTOTEST_DEST}
-sudo chmod 777 ${AUTOTEST_DEST}
-cd ${CHROOT_TRUNK_DIR}/src/third_party/autotest/files
-cp -fpru {client,conmux,server,tko,utils,global_config.ini,shadow_config.ini} \
- ${AUTOTEST_DEST}
+update_chroot_autotest "${CHROOT_TRUNK_DIR}/src/third_party/autotest/files"
# Create python package init files for top level test case dirs.
function touchInitPy() {
« 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