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

Side by Side Diff: src/scripts/build_autotest.sh

Issue 656023: Changes to use default board when set by setup_board (Closed)
Patch Set: Fix build_autotest Created 10 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « src/scripts/autotest_lib.sh ('k') | src/scripts/common.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #
11 # The user can later run autotest against an ssh enabled test client system, or 11 # The user can later run autotest against an ssh enabled test client system, or
12 # install the compiled client tests directly onto the rootfs image. 12 # install the compiled client tests directly onto the rootfs image.
13 13
14 . "$(dirname "$0")/common.sh" 14 # Includes common already
15 . "$(dirname $0)/autotest_lib.sh" 15 . "$(dirname $0)/autotest_lib.sh"
16 16
17 # Script must be run inside the chroot 17 # Script must be run inside the chroot
18 assert_inside_chroot 18 assert_inside_chroot
19 19
20 DEFAULT_TESTS_LIST="all" 20 DEFAULT_TESTS_LIST="all"
21 21
22 DEFINE_string build "${DEFAULT_TESTS_LIST}" \ 22 DEFINE_string build "${DEFAULT_TESTS_LIST}" \
23 "a comma seperated list of autotest client tests to be prebuilt." b 23 "a comma seperated list of autotest client tests to be prebuilt." b
24 DEFINE_boolean prompt $FLAGS_TRUE "Prompt user when building all tests" 24 DEFINE_boolean prompt $FLAGS_TRUE "Prompt user when building all tests"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 exit 0 59 exit 0
60 fi 60 fi
61 fi 61 fi
62 TEST_LIST=${ALL_TESTS} 62 TEST_LIST=${ALL_TESTS}
63 else 63 else
64 TEST_LIST=${FLAGS_build} 64 TEST_LIST=${FLAGS_build}
65 fi 65 fi
66 66
67 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} \ 67 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} \
68 "emerge-${FLAGS_board}" chromeos-base/autotest 68 "emerge-${FLAGS_board}" chromeos-base/autotest
OLDNEW
« no previous file with comments | « src/scripts/autotest_lib.sh ('k') | src/scripts/common.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698