gom: patch longer timout for stress test

https://gitlab.gnome.org/GNOME/gom/issues/22
This commit is contained in:
worldofpeace 2019-04-11 18:09:26 -04:00
parent 4a3debad14
commit c2d8d2fece
2 changed files with 14 additions and 0 deletions

View file

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
url = "https://gitlab.gnome.org/worldofpeace/gom/commit/b621c15600b1c32826c9878565eb2398a50907f2.patch";
sha256 = "1hqck9bb7sxn4akisnn26sbddlphjsavgksick5k4h3rsc0xwx1v";
})
./longer-stress-timeout.patch
];
nativeBuildInputs = [

View file

@ -0,0 +1,13 @@
diff --git a/tests/meson.build b/tests/meson.build
index 1df4884..d7a6f5d 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -25,7 +25,7 @@ test('test-gom-find', test_find)
test_stress = executable('test-gom-stress', 'test-gom-stress.c',
dependencies: [libgom_dep])
-test('test-gom-stress', test_stress, timeout: 300)
+test('test-gom-stress', test_stress, timeout: 500)
test_transform = executable('test-gom-transform', 'test-gom-transform.c',
c_args: '-DIMAGE="@0@/gnome.png"'.format(meson.current_source_dir()),