Detect xmllint at build time

Detect whether and where the xmllint utility is available at build time,
so that it can be used in system tests.  If the tool is not found,
specific checks employing it will be skipped.

(cherry picked from commit 85773d4d21)
This commit is contained in:
Michał Kępień 2025-10-25 07:37:48 +02:00
parent 1f0ed3c479
commit f38cbbd56c
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1 @@
@XMLLINT@

View file

@ -330,6 +330,7 @@ AM_CONDITIONAL([HAVE_PYTEST], [test -n "$PYTEST"])
# Optional utilities, only used by system tests.
#
AC_PATH_PROG([JQ], [jq])
AC_PATH_PROG([XMLLINT], [xmllint])
AC_PATH_PROG([XSLTPROC], [xsltproc])
#
@ -1650,6 +1651,7 @@ AC_CONFIG_FILES([bin/tests/Makefile
bin/tests/system/isctest/vars/.ac_vars/PERL
bin/tests/system/isctest/vars/.ac_vars/CURL
bin/tests/system/isctest/vars/.ac_vars/NC
bin/tests/system/isctest/vars/.ac_vars/XMLLINT
bin/tests/system/isctest/vars/.ac_vars/XSLTPROC
bin/tests/system/isctest/vars/.ac_vars/PYTEST
bin/tests/system/dyndb/driver/Makefile