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

Unified Diff: mod_for_factory_scripts/600customizeRelease

Issue 4376001: Allow branch customization for factory (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Created 10 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mod_for_factory_scripts/600customizeRelease
diff --git a/mod_for_factory_scripts/600customizeRelease b/mod_for_factory_scripts/600customizeRelease
new file mode 100755
index 0000000000000000000000000000000000000000..9298e450c24900d836f8070894924517c94c19a9
--- /dev/null
+++ b/mod_for_factory_scripts/600customizeRelease
@@ -0,0 +1,21 @@
+#!/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}"
+fi
+
+# We don't need the customize script anymore.
+rm -f customize_*
+
+popd 1> /dev/null
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698