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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 echo "@@@BUILD_STEP Clobber@@@" | 44 echo "@@@BUILD_STEP Clobber@@@" |
45 rm -rf "${SRC_ROOT}"/out | 45 rm -rf "${SRC_ROOT}"/out |
46 fi | 46 fi |
47 | 47 |
48 echo "@@@BUILD_STEP android_gyp@@@" | 48 echo "@@@BUILD_STEP android_gyp@@@" |
49 android_gyp | 49 android_gyp |
50 | 50 |
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? |
| 55 # EXPERIMENTAL_TARGETS="DumpRenderTree webkit_unit_tests" |
| 56 EXPERIMENTAL_TARGETS="webkit_unit_tests" |
| 57 for target in ${EXPERIMENTAL_TARGETS} ; do |
| 58 echo "@@@BUILD_STEP Experimental Compile $target @@@" |
| 59 set +e |
| 60 make -j4 "${target}" |
| 61 set -e |
| 62 if [ $? -ne 0 ] ; then |
| 63 echo "@@@STEP_WARNINGS@@@" |
| 64 fi |
| 65 done |
| 66 |
54 echo "@@@BUILD_STEP Run Tests@@@" | 67 echo "@@@BUILD_STEP Run Tests@@@" |
55 build/android/run_tests.py -e --xvfb | 68 build/android/run_tests.py -e --xvfb |
56 | 69 |
57 exit 0 | 70 exit 0 |
OLD | NEW |