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

Unified Diff: src/scripts/run_autotest.sh

Issue 542058: Re-work automation setup scripts. (Closed)
Patch Set: call the correct setup controlfile Created 10 years, 11 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
« src/scripts/make_autotest.sh ('K') | « src/scripts/make_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_autotest.sh
diff --git a/src/scripts/setup_autotest.sh b/src/scripts/run_autotest.sh
similarity index 74%
rename from src/scripts/setup_autotest.sh
rename to src/scripts/run_autotest.sh
index 165830957b9485494926d2799bb59e3dbaa9607f..da785cdd63f81a77c86e676f17cc11269fa58df0 100755
--- a/src/scripts/setup_autotest.sh
+++ b/src/scripts/run_autotest.sh
@@ -41,27 +41,6 @@ function cleanup {
trap cleanup EXIT
-# Copy a local "installation" of autotest into the chroot, to avoid
-# polluting the src dir with tmp files, results, etc.
-# TODO: use rsync to ensure we don't get stuck with an old install.
-if [ 1 != ${FLAGS_force} ] || [ ! -f "${AUTOTEST_CHROOT_DEST}/server/autosrv" ]
- then
- echo -n "Installing Autotest... "
- sudo mkdir -p "${AUTOTEST_CHROOT_DEST}"
- sudo cp -rp ${AUTOTEST_SRC}/* ${AUTOTEST_CHROOT_DEST}
- echo "done."
- else
- echo "Autotest found in chroot, skipping copy."
-fi
-
-# Add all third_party and system tests to site_tests.
-for type in client server
-do
- echo -n "Adding ${type}_tests into autotest's ${type}/site_tests... "
- sudo cp -rp ${GCLIENT_ROOT}/src/platform/testing/${type}_tests/* \
- ${AUTOTEST_CHROOT_DEST}/${type}/site_tests/
-done
-
# If ssh-agent isn't already running, start one (possibly inside the chroot)
if [ ! -n "${SSH_AGENT_PID}" ]
then
« src/scripts/make_autotest.sh ('K') | « src/scripts/make_autotest.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698