diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-09-19 11:30:34 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-09-19 11:30:34 +0200 |
commit | 84bf18db7e916db43ebcfca9134146c2a3acba12 (patch) | |
tree | 755e51ff384e43b9045d6e7149d2002b6708f1d8 /tests | |
parent | 8657c37443db3ca727c157666707052f3c9759b2 (diff) | |
download | gdk-pixbuf-84bf18db7e916db43ebcfca9134146c2a3acba12.tar.gz |
tests: Bump timeouts for long-running tests
The pixbuf-area-updated and pixbuf-randomly-modified tests are
particularly taxing on the CPU, and though modern desktop machines
shouldn't have a problem dealing with those under 30 seconds, tests
are run in parallel, and busy build machines might fail those tests
because of timeouts.
Bump the timeouts to 300 seconds for those long tests to avoid test
failures.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 10 |
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', |