OLD | NEW |
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 EnableCliMain | 5 EnableCliMain |
6 NACLPORTS_CPPFLAGS+=" -Wall -Werror -Dpipe=nacl_spawn_pipe" | 6 NACLPORTS_CPPFLAGS+=" -Wall -Werror -Dpipe=nacl_spawn_pipe" |
7 NACLPORTS_CPPFLAGS+=" -isystem ${GTEST_SRC}/include" | 7 NACLPORTS_CPPFLAGS+=" -isystem ${GTEST_SRC}/include" |
8 | 8 |
9 EXECUTABLES="tests/devenv_small_test_${NACL_ARCH}${NACL_EXEEXT} \ | 9 EXECUTABLES="tests/devenv_small_test_${NACL_ARCH}${NACL_EXEEXT} \ |
10 jseval/jseval_${NACL_ARCH}${NACL_EXEEXT}" | 10 jseval/jseval_${NACL_ARCH}${NACL_EXEEXT}" |
11 | 11 |
12 STORAGE_URL=https://webports.storage.googleapis.com/builds | 12 STORAGE_URL=https://webports.storage.googleapis.com/builds |
13 SDK_VERSION=pepper_51 | 13 SDK_VERSION=pepper_51 |
14 BUILT_REVISION=trunk-834-gf476174 | 14 BUILT_REVISION=trunk-837-gd9eb95d |
15 DEFAULT_SOURCE=${STORAGE_URL}/${SDK_VERSION}/${BUILT_REVISION}/publish | 15 DEFAULT_SOURCE=${STORAGE_URL}/${SDK_VERSION}/${BUILT_REVISION}/publish |
16 LOCAL_SOURCE=http://localhost:5103 | 16 LOCAL_SOURCE=http://localhost:5103 |
17 | 17 |
18 BuildStep() { | 18 BuildStep() { |
19 SetupCrossEnvironment | 19 SetupCrossEnvironment |
20 | 20 |
21 # Build jseval module. | 21 # Build jseval module. |
22 MakeDir ${BUILD_DIR}/jseval | 22 MakeDir ${BUILD_DIR}/jseval |
23 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \ | 23 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \ |
24 ${START_DIR}/jseval.c \ | 24 ${START_DIR}/jseval.c \ |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 elif [[ ${NACL_ARCH} == pnacl ]]; then | 183 elif [[ ${NACL_ARCH} == pnacl ]]; then |
184 arches="i686 x86_64" | 184 arches="i686 x86_64" |
185 else | 185 else |
186 arches="${NACL_ARCH}" | 186 arches="${NACL_ARCH}" |
187 fi | 187 fi |
188 for arch in ${arches}; do | 188 for arch in ${arches}; do |
189 LogExecute python ${START_DIR}/devenv_small_test.py -x -v -a ${arch} | 189 LogExecute python ${START_DIR}/devenv_small_test.py -x -v -a ${arch} |
190 if [[ ${NACL_ARCH} == pnacl ]]; then | 190 if [[ ${NACL_ARCH} == pnacl ]]; then |
191 LogExecute python ${START_DIR}/jseval_test.py -x -v -a ${arch} | 191 LogExecute python ${START_DIR}/jseval_test.py -x -v -a ${arch} |
192 fi | 192 fi |
193 # Run large and io2014 tests only on the buildbots (against pinned revs). | 193 # Run large and demo2014 tests only on the buildbots (against pinned revs). |
194 if [[ -n ${BUILDBOT_BUILDERNAME:-} ]]; then | 194 if [[ -n ${BUILDBOT_BUILDERNAME:-} ]]; then |
195 LogExecute python ${START_DIR}/../devenv/devenv_large_test.py \ | 195 LogExecute python ${START_DIR}/../devenv/devenv_large_test.py \ |
196 -x -v -a ${arch} | 196 -x -v -a ${arch} |
197 #LogExecute python ${START_DIR}/../devenv/io2014_test.py \ | 197 LogExecute python ${START_DIR}/../devenv/demo2014_test.py \ |
198 #-x -v -a ${arch} | 198 -x -v -a ${arch} |
199 fi | 199 fi |
200 done | 200 done |
201 } | 201 } |
OLD | NEW |