mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 15:18:55 +02: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:
@@ -8,6 +8,7 @@ lint_scripts = [
|
|||||||
'shellcheck.sh',
|
'shellcheck.sh',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if have_bash
|
||||||
foreach test_name : lint_scripts
|
foreach test_name : lint_scripts
|
||||||
test(
|
test(
|
||||||
test_name, files(test_name),
|
test_name, files(test_name),
|
||||||
@@ -16,6 +17,7 @@ foreach test_name : lint_scripts
|
|||||||
protocol : 'tap',
|
protocol : 'tap',
|
||||||
)
|
)
|
||||||
endforeach
|
endforeach
|
||||||
|
endif
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'check-missing-install-tag.py',
|
'check-missing-install-tag.py',
|
||||||
|
Reference in New Issue
Block a user