Changes in / [795:921d5bf41ac2:796:9cc6e98c487d] in lemon-1.2
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r752 r793 45 45 include doc/Makefile.am 46 46 include tools/Makefile.am 47 include scripts/Makefile.am 47 48 48 49 DIST_SUBDIRS = demo -
configure.ac
r744 r793 84 84 AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"]) 85 85 86 dnl Support for running test cases using valgrind. 87 use_valgrind=no 88 AC_ARG_ENABLE([valgrind], 89 AS_HELP_STRING([--enable-valgrind], [use valgrind when running tests]), 90 [use_valgrind=yes]) 91 92 if [[ "$use_valgrind" = "yes" ]]; then 93 AC_CHECK_PROG(HAVE_VALGRIND, valgrind, yes, no) 94 95 if [[ "$HAVE_VALGRIND" = "no" ]]; then 96 AC_MSG_ERROR([Valgrind not found in PATH.]) 97 fi 98 fi 99 AM_CONDITIONAL(USE_VALGRIND, [test "$use_valgrind" = "yes"]) 100 86 101 dnl Checks for header files. 87 102 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) … … 129 144 echo 130 145 echo Build additional tools........ : $enable_tools 146 echo Use valgrind for tests........ : $use_valgrind 131 147 echo 132 148 echo The packace will be installed in -
scripts/bootstrap.sh
r747 r794 103 103 cxx_flags="CXXFLAGS=-ggdb$opt_flags$werror_flags" 104 104 105 if yesorno "Check with valgrind" "n" 106 then 107 valgrind_flags=' --enable-valgrind' 108 else 109 valgrind_flags='' 110 fi 111 105 112 if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then 106 113 if yesorno "Use COIN-OR (CBC/CLP)" "n" … … 129 136 fi 130 137 ${CONFIGURE_PATH}/configure --prefix=$LEMON_INSTALL_PREFIX \ 138 $valgrind_flags \ 131 139 "$cxx_flags" \ 132 140 $coin_flag \ -
test/Makefile.am
r770 r793 1 if USE_VALGRIND 2 TESTS_ENVIRONMENT=$(top_srcdir)/scripts/valgrind-wrapper.sh 3 endif 4 1 5 EXTRA_DIST += \ 2 6 test/CMakeLists.txt
Note: See TracChangeset
for help on using the changeset viewer.