mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
Separate root from docker tests
This allows running the root tests under CI, even if the docker tests (which cannot be run) are not. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -100,6 +100,13 @@ AC_ARG_WITH(root-tests,
|
||||
|
||||
AM_CONDITIONAL(ENABLE_ROOT_TESTS, test "x$root_tests" = xyes)
|
||||
|
||||
AC_ARG_WITH(docker-tests,
|
||||
AS_HELP_STRING([--without-docker-tests], [disable any tests requiring docker]),
|
||||
docker_tests=$withval,
|
||||
docker_tests=yes)
|
||||
|
||||
AM_CONDITIONAL(ENABLE_DOCKER_TESTS, test "x$docker_tests" = xyes)
|
||||
|
||||
AC_ARG_WITH(local-talloc,
|
||||
AS_HELP_STRING([--with-local-talloc], [use the included talloc library]),
|
||||
no_test_for_talloc=$withval,
|
||||
|
||||
@@ -33,10 +33,12 @@ dist_check_SCRIPTS += server-cert-ed25519 server-cert-rsa-pss
|
||||
endif
|
||||
|
||||
if ENABLE_ROOT_TESTS
|
||||
if ENABLE_DOCKER_TESTS
|
||||
#docker tests
|
||||
dist_check_SCRIPTS += radius-test full-test unix-test kerberos-test radius-test-config \
|
||||
proxyproto-test proxyproto-v1-test proxyproto-unix-test otp-test \
|
||||
reload-info-test radius-group-test
|
||||
endif
|
||||
|
||||
#other root requiring tests
|
||||
dist_check_SCRIPTS += test-iroute test-multi-cookie test-pass-script test-pass-opt-cert \
|
||||
|
||||
Reference in New Issue
Block a user