[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: povray: Fix test run requiring interaction.
From: |
guix-commits |
Subject: |
07/09: gnu: povray: Fix test run requiring interaction. |
Date: |
Mon, 2 Dec 2024 17:20:59 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit a857a58d65de3674a5b3ff1155f0821c4a7fef71
Author: Ivan Vilata i Balaguer <ivan@selidor.net>
AuthorDate: Wed Oct 23 14:00:30 2024 +0200
gnu: povray: Fix test run requiring interaction.
[[PGP Signed Part:No public key for 3DECC105F5DD2382 created at
2024-10-23T14:00:24+0200 using RSA]]
The test render required pressing a key after it was done, which caused the
package build to get stuck. Also disable the render display window, which
did not cause issues but was pointless.
* gnu/packages/graphics.scm (povray)[args]: Patch test render not to pause
nor
display a window.
Change-Id: Ia9527b3a67896972b399464b97dda464365d41ea
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/graphics.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 8686cac7f7..f33e9d3fcb 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -37,6 +37,7 @@
;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
;;; Copyright © 2023 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Ivan Vilata-i-Balaguer <ivan@selidor.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1642,7 +1643,9 @@ in Julia).")
(setenv "HOME" (getcwd))
(with-directory-excursion "unix"
(substitute* "prebuild.sh"
- (("/bin/sh") (which "sh")))
+ (("/bin/sh") (which "sh"))
+ ;; Make test run non-interactive.
+ (("biscuit.pov -f \\+d \\+p \\+v") "biscuit.pov -f +v"))
(invoke "sh" "prebuild.sh"))))
;; The bootstrap script is run by the prebuild script in the
;; "run-prebuild" phase.
- branch master updated (d97a67d41d -> 6d7db827d1), guix-commits, 2024/12/02
- 02/09: gnu: Add (gnu packages dictd)., guix-commits, 2024/12/02
- 06/09: gnu: freedict-tools: Fix non-determinism of dictzip compressed file headers., guix-commits, 2024/12/02
- 03/09: gnu: Add dictd., guix-commits, 2024/12/02
- 04/09: gnu: Add freedict-tools., guix-commits, 2024/12/02
- 05/09: gnu: Add freedict-dictionaries., guix-commits, 2024/12/02
- 08/09: gnu: libreoffice: Update to 24.8.3.2., guix-commits, 2024/12/02
- 07/09: gnu: povray: Fix test run requiring interaction.,
guix-commits <=
- 01/09: tests: Adjust ‘guix build -P1’ test to new packages., guix-commits, 2024/12/02
- 09/09: gnu: libgit2: Update to 1.8.3., guix-commits, 2024/12/02