glib/tests/meson.build
Philip Withnall 81700d9aa6 tests: Skip lint tests if bash is not available
They all require bash.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-02-12 14:15:51 +00:00

29 lines
524 B
Meson

# Copyright 2024 Collabora Ltd.
# SPDX-License-Identifier: LGPL-2.1-or-later
lint_scripts = [
'black.sh',
'flake8.sh',
'reuse.sh',
'shellcheck.sh',
]
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',
python,
args : ['-B', files('check-missing-install-tag.py')],
env : common_test_env,
suite : 'lint',
protocol : 'tap',
)