tests: do not use test_auth_parse when messages are disabled

The test is not compatible with disabled messages
This commit is contained in:
Evgeny Grin (Karlson2k)
2024-02-20 20:35:31 +05:00
parent 20943e0b69
commit 7f86b4e0bf
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -3595,9 +3595,10 @@ AC_ARG_ENABLE([messages],
[enable_messages=${enableval}],
[enable_messages=yes])
AS_IF([[test "x$enable_messages" = "xyes"]],
[ AC_DEFINE([HAVE_MESSAGES],[1],[Define to 1 to enable support for error messages.]) ],
[ AC_DEFINE([HAVE_MESSAGES],[1],[Define to 1 to enable support for text messages.]) ],
[[ enable_messages=no ]])
AC_MSG_RESULT([[$enable_messages]])
AM_CONDITIONAL([HAVE_MESSAGES], [test "x$enable_messages" != "xno"])
# optional: have postprocessor?
+2
View File
@@ -295,9 +295,11 @@ endif
endif
if HAVE_ANYAUTH
if HAVE_MESSAGES
check_PROGRAMS += \
test_auth_parse
endif
endif
if ENABLE_DAUTH
check_PROGRAMS += \
test_str_quote \