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

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

Issue 661259: Unbreak the build. (Closed)
Patch Set: Created 10 years, 9 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 | « no previous file | no next file » | 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 #
(...skipping 17 matching lines...) Expand all
28 FLAGS_HELP="usage: $0 [flags]" 28 FLAGS_HELP="usage: $0 [flags]"
29 29
30 # parse the command-line 30 # parse the command-line
31 FLAGS "$@" || exit 1 31 FLAGS "$@" || exit 1
32 eval set -- "${FLAGS_ARGV}" 32 eval set -- "${FLAGS_ARGV}"
33 set -e 33 set -e
34 34
35 check_board 35 check_board
36 36
37 # build default pre-compile client tests list. 37 # build default pre-compile client tests list.
38 ALL_TESTS="compilebench,dbench,disktest,ltp,netperf2,netpipe,unixbench" 38 ALL_TESTS="compilebench,dbench,disktest,ltp,netperf2,unixbench"
39 for SITE_TEST in ../third_party/autotest/files/client/site_tests/* 39 for SITE_TEST in ../third_party/autotest/files/client/site_tests/*
40 do 40 do
41 if [ -d ${SITE_TEST} ] 41 if [ -d ${SITE_TEST} ]
42 then 42 then
43 ALL_TESTS="${ALL_TESTS},${SITE_TEST:48}" 43 ALL_TESTS="${ALL_TESTS},${SITE_TEST:48}"
44 fi 44 fi
45 done 45 done
46 46
47 if [ ${FLAGS_build} == ${DEFAULT_TESTS_LIST} ] 47 if [ ${FLAGS_build} == ${DEFAULT_TESTS_LIST} ]
48 then 48 then
(...skipping 17 matching lines...) Expand all
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} \ 75 GCLIENT_ROOT="${GCLIENT_ROOT}" TEST_LIST=${TEST_LIST} \
76 USE="$USE" "emerge-${FLAGS_board}" chromeos-base/autotest 76 USE="$USE" "emerge-${FLAGS_board}" chromeos-base/autotest
OLDNEW
« 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