| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2009 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 # This script makes autotest client tests inside a chroot environment. The idea | 7 # This script makes autotest client tests inside a chroot environment. The idea |
| 8 # is to compile any platform-dependent autotest client tests in the build | 8 # is to compile any platform-dependent autotest client tests in the build |
| 9 # environment, since client systems under test lack the proper toolchain. | 9 # environment, since client systems under test lack the proper toolchain. |
| 10 # | 10 # |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 else | 87 else |
| 88 TEST_LIST=${FLAGS_build} | 88 TEST_LIST=${FLAGS_build} |
| 89 fi | 89 fi |
| 90 | 90 |
| 91 # Decide on USE flags based on options | 91 # Decide on USE flags based on options |
| 92 USE= | 92 USE= |
| 93 [ $FLAGS_autox -eq "$FLAGS_FALSE" ] && USE="${USE} -autox" | 93 [ $FLAGS_autox -eq "$FLAGS_FALSE" ] && USE="${USE} -autox" |
| 94 [ $FLAGS_buildcheck -eq "$FLAGS_TRUE" ] && USE="${USE} buildcheck" | 94 [ $FLAGS_buildcheck -eq "$FLAGS_TRUE" ] && USE="${USE} buildcheck" |
| 95 | 95 |
| 96 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} \ | 96 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} \ |
| 97 FEATURES="${FEATURES} -buildpkg" USE="$USE" "emerge-${FLAGS_board}" \ | 97 FEATURES="${FEATURES} -buildpkg -collision-protect" \ |
| 98 USE="$USE" "emerge-${FLAGS_board}" \ |
| 98 chromeos-base/autotest ${EMERGE_JOBS} | 99 chromeos-base/autotest ${EMERGE_JOBS} |
| OLD | NEW |