OLD | NEW |
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # All these tests rely on mkdir() working, and currently | 5 # All these tests rely on mkdir() working, and currently |
6 # neither newlib or glibc has mkdir plumbed through to the | 6 # neither newlib or glibc has mkdir plumbed through to the |
7 # IRT. | 7 # IRT. |
8 #autocompact_test | 8 #autocompact_test |
9 #corruption_test | 9 #corruption_test |
10 #db_test | 10 #db_test |
(...skipping 13 matching lines...) Expand all Loading... |
24 filter_block_test \ | 24 filter_block_test \ |
25 log_test \ | 25 log_test \ |
26 memenv_test \ | 26 memenv_test \ |
27 skiplist_test \ | 27 skiplist_test \ |
28 version_edit_test \ | 28 version_edit_test \ |
29 version_set_test \ | 29 version_set_test \ |
30 write_batch_test" | 30 write_batch_test" |
31 | 31 |
32 BUILD_DIR=${SRC_DIR} | 32 BUILD_DIR=${SRC_DIR} |
33 | 33 |
| 34 |
34 BuildStep() { | 35 BuildStep() { |
35 export TARGET_OS=NaCl | 36 export TARGET_OS=NaCl |
36 export AR=${NACLAR} | 37 export AR=${NACLAR} |
37 export CC=${NACLCC} | 38 export CC=${NACLCC} |
38 export CXX=${NACLCXX} | 39 export CXX=${NACLCXX} |
39 LogExecute make clean | 40 LogExecute make clean |
40 LogExecute make -j${OS_JOBS} OPT="" | 41 LogExecute make -j${OS_JOBS} OPT="" |
41 LogExecute make -j${OS_JOBS} OPT="" tests programs | 42 LogExecute make -j${OS_JOBS} OPT="" tests programs |
42 } | 43 } |
43 | 44 |
44 InstallStep() { | 45 InstallStep() { |
45 MakeDir ${DESTDIR_LIB} | 46 MakeDir ${DESTDIR_LIB} |
46 MakeDir ${DESTDIR_INCLUDE} | 47 MakeDir ${DESTDIR_INCLUDE} |
47 LogExecute cp libleveldb.a ${DESTDIR_LIB} | 48 LogExecute cp libleveldb.a ${DESTDIR_LIB} |
48 LogExecute cp -r include/leveldb ${DESTDIR_INCLUDE} | 49 LogExecute cp -r include/leveldb ${DESTDIR_INCLUDE} |
49 } | 50 } |
50 | 51 |
51 TestStep() { | 52 TestStep() { |
52 if [ "${NACL_ARCH}" = "pnacl" ]; then | 53 if [ "${NACL_ARCH}" = "pnacl" ]; then |
53 return | 54 return |
54 fi | 55 fi |
55 | 56 |
56 for test_binary in $EXECUTABLES; do | 57 for test_binary in $EXECUTABLES; do |
57 echo "***** Running $test_binary.sh" | 58 echo "***** Running $test_binary.sh" |
58 ./$test_binary.sh | 59 ./$test_binary.sh |
59 done | 60 done |
60 } | 61 } |
OLD | NEW |