| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/suite_Factory" | 7 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/suite_Factory" |
| 8 | 8 |
| 9 pushd ${TEST_DIR} 1> /dev/null | 9 pushd ${TEST_DIR} 1> /dev/null |
| 10 | 10 |
| 11 # If there is a customize_$BOARD script for this board, let's run it. | 11 # If there is a customize_$BOARD script for this board, let's run it. |
| 12 # This allows adding settings for specific factories or systems. | 12 # This allows adding settings for specific factories or systems. |
| 13 CUSTOMIZE="customize_${BOARD}" | 13 CUSTOMIZE="customize_${BOARD}" |
| 14 if [ -e "${CUSTOMIZE}" ]; then | 14 if [ -e "${CUSTOMIZE}" ]; then |
| 15 echo "Running ${CUSTOMIZE}" | 15 echo "Running ${CUSTOMIZE}" |
| 16 "./${CUSTOMIZE}" |
| 16 fi | 17 fi |
| 17 | 18 |
| 18 # We don't need the customize script anymore. | 19 # We don't need the customize script anymore. |
| 19 rm -f customize_* | 20 rm -f customize_* |
| 20 | 21 |
| 21 popd 1> /dev/null | 22 popd 1> /dev/null |
| OLD | NEW |