summaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 0b40c595b..77a427ac1 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -116,13 +116,21 @@ foreach t: installed_tests
],
c_args: common_cflags)
+ # Two particularly slow tests
+ if test_name == 'pixbuf-area-updated' or test_name == 'pixbuf-randomly-modified'
+ timeout = 300
+ else
+ timeout = 30
+ endif
+
test(test_name, test_bin,
args: [ '-k', '--tap' ],
env: [
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
'GDK_PIXBUF_MODULE_FILE=@0@'.format(loaders_cache.full_path()),
- ])
+ ],
+ timeout: timeout)
endforeach
executable('pixbuf-read',