diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-28 15:05:38 +0100 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-28 22:27:11 +0100 |
| commit | ef0552087339666ad3dfb3394ddefcc4648bef40 (patch) | |
| tree | b0690c08804d1c3662bcb73ac53c778a5f3c0490 /gnu | |
| parent | 4c9438c0831ecb09874052c43d0df4101cd38126 (diff) | |
gnu: gegl: Extend test time-outs.
* gnu/packages/gimp.scm (gegl)[arguments]: Add an 'extend-test-time-outs phase.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/gimp.scm | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index ff986c0a025..c0c66e52f58 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm | |||
| @@ -223,7 +223,22 @@ provided, as well as a framework to add new color models and data types.") | |||
| 223 | (build-system meson-build-system) | 223 | (build-system meson-build-system) |
| 224 | (arguments | 224 | (arguments |
| 225 | `(#:configure-flags | 225 | `(#:configure-flags |
| 226 | (list "-Dintrospection=false"))) | 226 | (list "-Dintrospection=false") |
| 227 | #:phases | ||
| 228 | (modify-phases %standard-phases | ||
| 229 | (add-after 'unpack 'extend-test-time-outs | ||
| 230 | (lambda _ | ||
| 231 | ;; Multiply some poorly-chosen time-outs for busy build machines. | ||
| 232 | (substitute* "tests/simple/test-node-exponential.c" | ||
| 233 | (("G_TIME_SPAN_SECOND" match) | ||
| 234 | (string-append "10 * " match))) | ||
| 235 | (substitute* "tests/simple/test-buffer-sharing.c" | ||
| 236 | (("g_timeout_add_seconds\\([0-9]+" match) | ||
| 237 | (string-append match "0"))) | ||
| 238 | (substitute* (find-files "tests" "^meson\\.build$") | ||
| 239 | (("timeout ?: [0-9]+" match) | ||
| 240 | (string-append match "0"))) | ||
| 241 | #t))))) | ||
| 227 | ;; These are propagated to satisfy 'gegl-0.4.pc'. | 242 | ;; These are propagated to satisfy 'gegl-0.4.pc'. |
| 228 | (propagated-inputs | 243 | (propagated-inputs |
| 229 | `(("babl" ,babl) | 244 | `(("babl" ,babl) |
