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

Side by Side Diff: src/scripts/autotest_lib.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 unified diff | Download patch
« no previous file with comments | « no previous file | src/scripts/build_autotest.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 #
5 # Provides common commands for dealing running/building autotest
6
7 # Populates the chroot's /usr/local/autotest directory based on
8 # the given source directory.
9 # args:
10 # $1 - original source directory
11 function update_chroot_autotest() {
12 local original=$1
13 echo "Updating chroot Autotest from ${original}..."
14 local autotest_dir="${DEFAULT_CHROOT_DIR}/usr/local/autotest"
15 sudo mkdir -p "${autotest_dir}"
16 sudo chmod 777 "${autotest_dir}"
17 cp -fpru ${original}/{client,conmux,server,tko,utils,global_config.ini,shadow_ config.ini} ${autotest_dir}
18 }
OLDNEW
« no previous file with comments | « no previous file | src/scripts/build_autotest.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698