Merge branch 'skip-lint-bash' into 'main'

tests: Skip lint tests if bash is not available

See merge request GNOME/glib!3916
This commit is contained in:
Marco Trevisan 2024-02-12 14:52:59 +00:00
commit 7beb137c99

View File

@ -8,14 +8,16 @@ lint_scripts = [
'shellcheck.sh',
]
foreach test_name : lint_scripts
test(
test_name, files(test_name),
env : common_test_env,
suite : 'lint',
protocol : 'tap',
)
endforeach
if have_bash
foreach test_name : lint_scripts
test(
test_name, files(test_name),
env : common_test_env,
suite : 'lint',
protocol : 'tap',
)
endforeach
endif
test(
'check-missing-install-tag.py',