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 BuildStep() { | 5 BuildStep() { |
6 # Build a local package index of pkg files | 6 # Build a local package index of pkg files |
7 Banner "Building pkg for host" | 7 Banner "Building pkg for host" |
8 ${NACL_SRC}/build_tools/build_repo.sh -l | 8 ${NACL_SRC}/build_tools/build_repo.sh -l |
9 } | 9 } |
10 | 10 |
11 InstallStep() { | 11 InstallStep() { |
12 # Meta package, no install. | 12 # Meta package, no install. |
13 return | 13 return |
14 } | 14 } |
15 | 15 |
16 PostInstallTestStep() { | 16 PostInstallTestStep() { |
17 local arches= | 17 local arches= |
18 if [[ ${OS_NAME} == Darwin && ${NACL_ARCH} == x86_64 ]]; then | 18 if [[ ${OS_NAME} == Darwin && ${NACL_ARCH} == x86_64 ]]; then |
19 echo "Skipping devenv tests on unsupported mac + x86_64 configuration." | 19 echo "Skipping devenv tests on unsupported mac + x86_64 configuration." |
20 elif [[ ${NACL_ARCH} == arm ]]; then | 20 elif [[ ${NACL_ARCH} == arm ]]; then |
21 echo "Skipping devenv tests on arm for now." | 21 echo "Skipping devenv tests on arm for now." |
22 elif [[ ${NACL_ARCH} == pnacl ]]; then | 22 elif [[ ${NACL_ARCH} == pnacl || ${NACL_ARCH} == le32 ]]; then |
23 arches="i686 x86_64" | 23 arches="i686 x86_64" |
24 else | 24 else |
25 arches="${NACL_ARCH}" | 25 arches="${NACL_ARCH}" |
26 fi | 26 fi |
27 for arch in ${arches}; do | 27 for arch in ${arches}; do |
28 LogExecute python ${START_DIR}/../devenv/devenv_large_test.py \ | 28 LogExecute python ${START_DIR}/../devenv/devenv_large_test.py \ |
29 -p latest=1 \ | 29 -p latest=1 \ |
30 -C ${NACL_SRC}/out/publish \ | 30 -C ${NACL_SRC}/out/publish \ |
31 -x -v -a ${arch} | 31 -x -v -a ${arch} |
32 # TODO(bradnelson): Re-enable. | 32 # TODO(bradnelson): Re-enable. |
33 #LogExecute python ${START_DIR}/../devenv/demo2014_test.py \ | 33 #LogExecute python ${START_DIR}/../devenv/demo2014_test.py \ |
34 #-p latest=1 \ | 34 #-p latest=1 \ |
35 #-C ${NACL_SRC}/out \ | 35 #-C ${NACL_SRC}/out \ |
36 #-x -v -a ${arch} | 36 #-x -v -a ${arch} |
37 done | 37 done |
38 } | 38 } |
OLD | NEW |