Compare commits

...

1 Commits

Author SHA1 Message Date
Emmanuele Bassi
69c3a43ec4 tests: Change test timeout for GDK
We use the same approach as the GTK testsuite:

- default timeout of 60 seconds
- timeout of 90 seconds if a test is inside the 'slow' suite
2024-01-16 18:33:40 +00:00

View File

@@ -43,10 +43,16 @@ foreach t : tests
suites = ['gdk'] + t.get('suites', [])
test_timeout = 60
if 'slow' in suites
test_timeout = 90
endif
test(test_name, test_exe,
args: [ '--tap', '-k' ],
protocol: 'tap',
is_parallel: t.get('parallel', false),
timeout: test_timeout,
env: [
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),