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
  2024-10-04 15:14 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages 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] 5+ messages in thread

end of thread, other threads:[~2024-10-12  5:36 UTC | newest]

Thread overview: 5+ messages (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
2024-10-04 15:14 ` Ludovic Courtès
2024-10-04 16:05   ` The Man
2024-10-05 12:36     ` Maxim Cournoyer
2024-10-12  5:34       ` bug#73135: " Maxim Cournoyer

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).