GNU bug report logs -
#73963
[PATCH] gnu: povray: Fix test run requiring interaction.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#73963: [PATCH] gnu: povray: Fix test run requiring interaction.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 73963 <at> debbugs.gnu.org.
--
73963: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73963
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Ivan Vilata i Balaguer <ivan <at> selidor.net> skribis:
> 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
Applied, thanks!
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
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
---
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 c12516383b..8d309cac33 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -37,6 +37,7 @@
;;; Copyright © 2023 David Thompson <dthompson2 <at> worcester.edu>
;;; Copyright © 2023 Eric Bavier <bavier <at> posteo.net>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
+;;; Copyright © 2024 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1656,7 +1657,9 @@ (define-public povray
(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.
base-commit: b8f8699a1f6e23fec46be7e086abde1270331ac9
--
2.46.0
--
Ivan Vilata i Balaguer -- https://elvil.net/
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.