mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-25 10:52:13 -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.
This commit is contained in:
parent
08ccc8bea8
commit
273b4bbfd7
4 changed files with 4 additions and 0 deletions
1
bin/tests/system/isctest/vars/.build_vars/JQ.in
Normal file
1
bin/tests/system/isctest/vars/.build_vars/JQ.in
Normal file
|
|
@ -0,0 +1 @@
|
|||
@JQ@
|
||||
|
|
@ -28,6 +28,7 @@ configure_file(
|
|||
foreach name, prog : {
|
||||
'CURL': curl,
|
||||
'FSTRM_CAPTURE': fstrm_capture,
|
||||
'JQ': jq,
|
||||
'NC': nc,
|
||||
'PERL': perl,
|
||||
'PYTEST': pytest,
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ def load_vars_from_build_files() -> Dict[str, str]:
|
|||
for var in [
|
||||
"CURL",
|
||||
"FSTRM_CAPTURE",
|
||||
"JQ",
|
||||
"NC",
|
||||
"PERL",
|
||||
"PYTEST",
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ dtrace = find_program(['dtrace', dtrace_shim], required: false)
|
|||
curl = find_program('curl', required: false)
|
||||
fstrm_capture = find_program('fstrm_capture', required: false)
|
||||
git = find_program('git', required: false)
|
||||
jq = find_program('jq', required: false)
|
||||
nc = find_program('nc', required: false)
|
||||
python = find_program(['python3', 'python'], required: false)
|
||||
xsltproc = find_program('xsltproc', required: false)
|
||||
|
|
|
|||
Loading…
Reference in a new issue