mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
tests: Skip lint tests if bash is not available
They all require bash. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
3a7dfb14c6
commit
81700d9aa6
@ -8,14 +8,16 @@ lint_scripts = [
|
|||||||
'shellcheck.sh',
|
'shellcheck.sh',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach test_name : lint_scripts
|
if have_bash
|
||||||
test(
|
foreach test_name : lint_scripts
|
||||||
test_name, files(test_name),
|
test(
|
||||||
env : common_test_env,
|
test_name, files(test_name),
|
||||||
suite : 'lint',
|
env : common_test_env,
|
||||||
protocol : 'tap',
|
suite : 'lint',
|
||||||
)
|
protocol : 'tap',
|
||||||
endforeach
|
)
|
||||||
|
endforeach
|
||||||
|
endif
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'check-missing-install-tag.py',
|
'check-missing-install-tag.py',
|
||||||
|
Loading…
Reference in New Issue
Block a user