mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 21:00:00 -04:00
Detect jq at build time
Detect whether and where the jq 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 273b4bbfd7)
This commit is contained in:
parent
1040282de7
commit
0ca76b6716
2 changed files with 4 additions and 1 deletions
1
bin/tests/system/isctest/vars/.ac_vars/JQ.in
Normal file
1
bin/tests/system/isctest/vars/.ac_vars/JQ.in
Normal file
|
|
@ -0,0 +1 @@
|
|||
@JQ@
|
||||
|
|
@ -327,8 +327,9 @@ AC_SUBST([PYTEST])
|
|||
AM_CONDITIONAL([HAVE_PYTEST], [test -n "$PYTEST"])
|
||||
|
||||
#
|
||||
# xsltproc is optional, it is used only by system test scripts.
|
||||
# Optional utilities, only used by system tests.
|
||||
#
|
||||
AC_PATH_PROG([JQ], [jq])
|
||||
AC_PATH_PROG([XSLTPROC], [xsltproc])
|
||||
|
||||
#
|
||||
|
|
@ -1643,6 +1644,7 @@ AC_CONFIG_FILES([bin/tests/Makefile
|
|||
bin/tests/system/isctest/vars/.ac_vars/TOP_BUILDDIR
|
||||
bin/tests/system/isctest/vars/.ac_vars/TOP_SRCDIR
|
||||
bin/tests/system/isctest/vars/.ac_vars/FSTRM_CAPTURE
|
||||
bin/tests/system/isctest/vars/.ac_vars/JQ
|
||||
bin/tests/system/isctest/vars/.ac_vars/SHELL
|
||||
bin/tests/system/isctest/vars/.ac_vars/PYTHON
|
||||
bin/tests/system/isctest/vars/.ac_vars/PERL
|
||||
|
|
|
|||
Loading…
Reference in a new issue