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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 TEST_LIST=${ALL_TESTS} | 63 TEST_LIST=${ALL_TESTS} |
64 else | 64 else |
65 TEST_LIST=${FLAGS_build} | 65 TEST_LIST=${FLAGS_build} |
66 fi | 66 fi |
67 | 67 |
68 # Decide whether or not to build autox and set use flag | 68 # Decide whether or not to build autox and set use flag |
69 if [ $FLAGS_autox -eq "$FLAGS_TRUE" ] ; then | 69 if [ $FLAGS_autox -eq "$FLAGS_TRUE" ] ; then |
70 USE= | 70 USE= |
71 else | 71 else |
72 USE=-autox | 72 USE=-autox |
73 fi | 73 fi |
74 | 74 |
75 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} FEATURES="-buildpkg" \ | 75 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} \ |
76 USE="$USE" "emerge-${FLAGS_board}" chromeos-base/autotest | 76 FEATURES="${FEATURES} -buildpkg" USE="$USE" "emerge-${FLAGS_board}" \ |
| 77 chromeos-base/autotest |
OLD | NEW |