mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
build: Add thorough test setup
This allows the tests to be run with `meson test --setup thorough` and it will run all the GTest tests with `-m thorough`. Since this argument isn’t supported by the Python tests, it’s not passed to them. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
@@ -193,6 +193,13 @@ add_test_setup('unstable_tests',
|
||||
#suites: ['flaky', 'unstable']
|
||||
)
|
||||
|
||||
add_test_setup('thorough',
|
||||
exclude_suites: ['flaky', 'failing', 'performance'],
|
||||
env: common_test_env,
|
||||
timeout_multiplier: 20,
|
||||
exe_wrapper: [find_program('./.gitlab-ci/thorough-test-wrapper.sh', required: true)],
|
||||
)
|
||||
|
||||
# Allow the tests to be easily run under valgrind using --setup=valgrind
|
||||
valgrind = find_program('valgrind', required: false)
|
||||
valgrind_suppression_file = files('tools' / 'glib.supp')[0]
|
||||
|
Reference in New Issue
Block a user