COIN-OR::LEMON - Graph Library

Changes in / [795:921d5bf41ac2:796:9cc6e98c487d] in lemon-main


Ignore:
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r752 r793  
    4545include doc/Makefile.am
    4646include tools/Makefile.am
     47include scripts/Makefile.am
    4748
    4849DIST_SUBDIRS = demo
  • configure.ac

    r744 r793  
    8484AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
    8585
     86dnl Support for running test cases using valgrind.
     87use_valgrind=no
     88AC_ARG_ENABLE([valgrind],
     89AS_HELP_STRING([--enable-valgrind], [use valgrind when running tests]),
     90              [use_valgrind=yes])
     91
     92if [[ "$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
     98fi
     99AM_CONDITIONAL(USE_VALGRIND, [test "$use_valgrind" = "yes"])
     100
    86101dnl Checks for header files.
    87102AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
     
    129144echo
    130145echo Build additional tools........ : $enable_tools
     146echo Use valgrind for tests........ : $use_valgrind
    131147echo
    132148echo The packace will be installed in
  • scripts/bootstrap.sh

    r747 r794  
    103103cxx_flags="CXXFLAGS=-ggdb$opt_flags$werror_flags"
    104104
     105if yesorno "Check with valgrind" "n"
     106then
     107    valgrind_flags=' --enable-valgrind'
     108else
     109    valgrind_flags=''
     110fi
     111
    105112if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then
    106113    if yesorno "Use COIN-OR (CBC/CLP)" "n"
     
    129136fi
    130137${CONFIGURE_PATH}/configure --prefix=$LEMON_INSTALL_PREFIX \
     138$valgrind_flags \
    131139"$cxx_flags" \
    132140$coin_flag \
  • test/Makefile.am

    r770 r793  
     1if USE_VALGRIND
     2TESTS_ENVIRONMENT=$(top_srcdir)/scripts/valgrind-wrapper.sh
     3endif
     4
    15EXTRA_DIST += \
    26        test/CMakeLists.txt
Note: See TracChangeset for help on using the changeset viewer.