Add per board customization, clean up private autotests.

BUG=1583
TEST=actually builds

Change-Id: I6510f30faf3f3c2e88b4ea9c63985c09086e1a5d

Review URL: http://codereview.chromium.org/4482001
(cherry picked from commit afba119639afe0fb8206e58ead091f2efd114192)

Allow branch customization for factory

BUG=1583
TEST=removes superfluous files

Change-Id: I576fc0dd811f9c1ed6299a539e0e8a014b37bdc8

Review URL: http://codereview.chromium.org/4376001
(cherry picked from commit 08fdc9da26456c286254c250366bdfc738f8ed38)

No pagecycler for factory image

BUG=1583
TEST="build, no pagecycler in factory."

Change-Id: I43d23de5d518634697e17a32bcd94a43aad46aba

Review URL: http://codereview.chromium.org/4342002
(cherry picked from commit f3e98785f3ed3f4e87e4287ee3ec45e2fc737c89)

Review URL: http://codereview.chromium.org/5091002
This commit is contained in:
Nick Sanders 2010-11-17 16:50:02 -08:00
parent 765d7c2180
commit a436eb8ef6
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#!/bin/bash
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/suite_Factory"
pushd ${TEST_DIR} 1> /dev/null
# If there is a customize_$BOARD script for this board, let's run it.
# This allows adding settings for specific factories or systems.
CUSTOMIZE="customize_${BOARD}"
if [ -e "${CUSTOMIZE}" ]; then
echo "Running ${CUSTOMIZE}"
"./${CUSTOMIZE}"
fi
# We don't need the customize script anymore.
rm -f customize_*
popd 1> /dev/null

View File

@ -144,6 +144,7 @@ install_autotest() {
--exclude=site_tests/platform_StackProtector \
--exclude=deps/chrome_test \
--exclude=site_tests/desktopui_BrowserTest \
--exclude=site_tests/desktopui_PageCyclerTests \
--exclude=site_tests/desktopui_UITest \
--exclude=.svn \
${AUTOTEST_SRC}/client/* "${stateful_root}/${autotest_client}"