OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # | 5 # |
6 # "compile and run tests" script for the android build of chromium. | 6 # "compile and run tests" script for the android build of chromium. |
7 # Intended for use by buildbot. | 7 # Intended for use by buildbot. |
8 # At this time, we only have one bot which is both a builder and | 8 # At this time, we only have one bot which is both a builder and |
9 # tester. Script assumes it runs in the "build" directory. | 9 # tester. Script assumes it runs in the "build" directory. |
10 # | 10 # |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 echo "@@@BUILD_STEP Compile@@@" | 51 echo "@@@BUILD_STEP Compile@@@" |
52 make -j4 | 52 make -j4 |
53 | 53 |
54 # Linking DumpRenderTree appears to hang forever? | 54 # Linking DumpRenderTree appears to hang forever? |
55 # EXPERIMENTAL_TARGETS="DumpRenderTree webkit_unit_tests" | 55 # EXPERIMENTAL_TARGETS="DumpRenderTree webkit_unit_tests" |
56 EXPERIMENTAL_TARGETS="webkit_unit_tests" | 56 EXPERIMENTAL_TARGETS="webkit_unit_tests" |
57 for target in ${EXPERIMENTAL_TARGETS} ; do | 57 for target in ${EXPERIMENTAL_TARGETS} ; do |
58 echo "@@@BUILD_STEP Experimental Compile $target @@@" | 58 echo "@@@BUILD_STEP Experimental Compile $target @@@" |
59 set +e | 59 set +e |
60 make -j4 "${target}" | 60 make -j4 "${target}" |
61 set -e | |
62 if [ $? -ne 0 ] ; then | 61 if [ $? -ne 0 ] ; then |
63 echo "@@@STEP_WARNINGS@@@" | 62 echo "@@@STEP_WARNINGS@@@" |
64 fi | 63 fi |
| 64 set -e |
65 done | 65 done |
66 | 66 |
67 echo "@@@BUILD_STEP Run Tests@@@" | 67 echo "@@@BUILD_STEP Run Tests@@@" |
68 build/android/run_tests.py -e --xvfb | 68 build/android/run_tests.py -e --xvfb |
69 | 69 |
70 exit 0 | 70 exit 0 |
OLD | NEW |