mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[master] Disable lettuce tests for resolver when the resolver is not available
Also fix configure argument name to match help documentation.
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -899,11 +899,17 @@ if test "$BOOST_NUMERIC_CAST_WOULDFAIL" = "yes" -a X"$werror_ok" = X1 -a $CLANGP
|
||||
fi
|
||||
|
||||
build_experimental_resolver=no
|
||||
AC_ARG_ENABLE(experimental_resolver,
|
||||
AC_ARG_ENABLE(experimental-resolver,
|
||||
[AC_HELP_STRING([--enable-experimental-resolver],
|
||||
[enable building of the experimental resolver [default=no]])],
|
||||
build_experimental_resolver=$enableval, build_experimental_resolver=no)
|
||||
[build_experimental_resolver=$enableval])
|
||||
AM_CONDITIONAL([BUILD_EXPERIMENTAL_RESOLVER], [test "$build_experimental_resolver" = "yes"])
|
||||
if test "$build_experimental_resolver" = "yes"; then
|
||||
BUILD_EXPERIMENTAL_RESOLVER=yes
|
||||
else
|
||||
BUILD_EXPERIMENTAL_RESOLVER=no
|
||||
fi
|
||||
AC_SUBST(BUILD_EXPERIMENTAL_RESOLVER)
|
||||
|
||||
use_shared_memory=yes
|
||||
AC_ARG_WITH(shared-memory,
|
||||
|
1
tests/lettuce/features/.gitignore
vendored
Normal file
1
tests/lettuce/features/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/resolver_basic.feature
|
@@ -34,6 +34,11 @@ if test $SET_ENV_LIBRARY_PATH = yes; then
|
||||
export @ENV_LIBRARY_PATH@
|
||||
fi
|
||||
|
||||
BUILD_EXPERIMENTAL_RESOLVER=@BUILD_EXPERIMENTAL_RESOLVER@
|
||||
if test $BUILD_EXPERIMENTAL_RESOLVER = yes; then
|
||||
cp -f @srcdir@/features/resolver_basic.feature.disabled @srcdir@/features/resolver_basic.feature
|
||||
fi
|
||||
|
||||
B10_FROM_SOURCE=@abs_top_srcdir@
|
||||
export B10_FROM_SOURCE
|
||||
# TODO: We need to do this feature based (ie. no general from_source)
|
||||
|
Reference in New Issue
Block a user