unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73135] [PATCH] Enable parallel tests for GTK
@ 2024-09-09  0:55 The Man
  0 siblings, 0 replies; only message in thread
From: The Man @ 2024-09-09  0:55 UTC (permalink / raw)
  To: 73135


[-- Attachment #1.1: Type: text/plain, Size: 361 bytes --]

In the middle of testing a set of patches that caused a large number of
rebuilds, I noticed the gtk package was taking an obscenely long time to
run checks. Upon inspection I found out it was not running tests as
parallel.
For example, https://ci.guix.gnu.org/build/5623913/details took >3000!
seconds.
The fix is obvious and will save time on future rebuilds.

[-- Attachment #1.2: Type: text/html, Size: 471 bytes --]

[-- Attachment #2: gtk-parallel-test.patch --]
[-- Type: text/x-patch, Size: 573 bytes --]

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3d4766713d..f0f6a0cd9a 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1195,6 +1195,7 @@ (define-public gtk
                                         (string=? (%current-system) "aarch64-linux"))
                                    "--no-suite=wayland_gles2_failing"
                                    "--no-suite=wayland_gles_failing"))
+      #:parallel-tests? #t
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-09  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  0:55 [bug#73135] [PATCH] Enable parallel tests for GTK The Man

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).