| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 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 NACLPORTS_LIBS+=" -lncurses ${NACL_CLI_MAIN_LIB} -lm" | 5 EnableCliMain |
| 6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 6 EnableGlibcCompat |
| 7 | 7 |
| 8 EnableGlibcCompat | 8 NACLPORTS_LIBS+=" -lncurses -lm" |
| 9 | 9 |
| 10 if [ "${NACL_LIBC}" = "newlib" ]; then | 10 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 11 # Since the final link is done with -lnacl_io and not -lglibc-compat | 11 # Since the final link is done with -lnacl_io and not -lglibc-compat |
| 12 # we disable getrlimit and setrlimit. TODO(sbc): add these back if/when | 12 # we disable getrlimit and setrlimit. TODO(sbc): add these back if/when |
| 13 # nacl_io evolves to include these functions. | 13 # nacl_io evolves to include these functions. |
| 14 export ac_cv_func_getrlimit=no | 14 export ac_cv_func_getrlimit=no |
| 15 export ac_cv_func_setrlimit=no | 15 export ac_cv_func_setrlimit=no |
| 16 fi | 16 fi |
| 17 | 17 |
| 18 ConfigureStep() { | 18 ConfigureStep() { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 return | 131 return |
| 132 if [[ ${OS_NAME} == Darwin && ${NACL_ARCH} == x86_64 ]]; then | 132 if [[ ${OS_NAME} == Darwin && ${NACL_ARCH} == x86_64 ]]; then |
| 133 echo "Skipping gdb/debug tests on unsupported mac + x86_64 configuration." | 133 echo "Skipping gdb/debug tests on unsupported mac + x86_64 configuration." |
| 134 elif [[ ${NACL_ARCH} == arm ]]; then | 134 elif [[ ${NACL_ARCH} == arm ]]; then |
| 135 echo "Skipping gdb/debug tests on arm for now." | 135 echo "Skipping gdb/debug tests on arm for now." |
| 136 else | 136 else |
| 137 LogExecute python ${START_DIR}/gdb_test.py -x -vv -a ${NACL_ARCH} | 137 LogExecute python ${START_DIR}/gdb_test.py -x -vv -a ${NACL_ARCH} |
| 138 LogExecute python ${START_DIR}/debugger_test.py -x -vv -a ${NACL_ARCH} | 138 LogExecute python ${START_DIR}/debugger_test.py -x -vv -a ${NACL_ARCH} |
| 139 fi | 139 fi |
| 140 } | 140 } |
| OLD | NEW |