Changeset 99c61f9 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Jan 28, 2020, 3:37:37 AM (18 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
e46d203
Parents:
c5f8e85
Message:

Add configure option --enable-valgrind-test to run tests with Valgrind

Also includes suppressions for known issues not caused by mod_gnutls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rc5f8e85 r99c61f9  
    8787AM_PATH_PYTHON([3])
    8888AX_PYTHON_MODULE([yaml], [fatal])
     89
     90dnl Enable testing with Valgrind? Default is "no".
     91AC_ARG_ENABLE([valgrind-test],
     92        AS_HELP_STRING([--enable-valgrind-test], [Enable running \
     93        tests with Valgrind (slow)]),
     94        [use_valgrind=$enableval], [use_valgrind=no])
     95AC_MSG_CHECKING([whether to run tests with Valgrind])
     96AC_MSG_RESULT([$use_valgrind])
     97AC_PATH_PROG([VALGRIND], [valgrind], [no])
     98AS_IF([test "${use_valgrind}" != "no" -a "${VALGRIND}" = "no"],
     99      [AC_MSG_ERROR([Valgrind test are enabled, but "valgrind" not \
     100      found in PATH!])])
     101AM_CONDITIONAL([ENABLE_VALGRIND], [test "${use_valgrind}" != "no"])
    89102
    90103dnl Optionally disable flock
Note: See TracChangeset for help on using the changeset viewer.