1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2026-10-24 00:49:00 +03:00
Files
glib/tests/meson.build
Marco Trevisan (Treviño) f8cd442d73 build: Mark all the failing and flacky tests with thread sanitizer
Sadly many tests don't pass with thread sanitizer, but better to
mark them as such to try to fix them in the future

See also: https://gitlab.gnome.org/GNOME/glib/-/issues/1672
2026-08-30 00:34:48 +02:00

40 lines
792 B
Meson

# Copyright 2024 Collabora Ltd.
# SPDX-License-Identifier: LGPL-2.1-or-later
test_env = environment()
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
lint_scripts = [
'black.sh',
'flake8.sh',
'reuse.sh',
'shellcheck.sh',
]
if have_bash
foreach test_name : lint_scripts
test(
test_name,
bash,
args : [files(test_name)],
env : test_env,
suite : ['lint', 'no-valgrind'],
protocol : 'tap',
)
endforeach
endif
if not meson.is_subproject()
test(
'check-missing-install-tag.py',
python,
args : ['-B', files('check-missing-install-tag.py')],
env : test_env,
suite : ['lint', 'no-valgrind', 'no-tsan'],
protocol : 'tap',
)
endif
subdir('lib')