[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates-frozen updated: gnu: pdf2djvu: Fix tests.
From: |
guix-commits |
Subject: |
branch core-updates-frozen updated: gnu: pdf2djvu: Fix tests. |
Date: |
Sat, 13 Nov 2021 04:52:09 -0500 |
This is an automated email from the git hooks/post-receive script.
glv pushed a commit to branch core-updates-frozen
in repository guix.
The following commit(s) were added to refs/heads/core-updates-frozen by this
push:
new a12a41c gnu: pdf2djvu: Fix tests.
a12a41c is described below
commit a12a41cdd10cfe7e6ba75df4343c3aac2664fc38
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Nov 13 10:13:08 2021 +0100
gnu: pdf2djvu: Fix tests.
* gnu/packages/djvu.scm (pdf2djvu)[arguments]: Add 'set-home-for-tests'
phase.
---
gnu/packages/djvu.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index 39c2b20..a4cd4da 100644
--- a/gnu/packages/djvu.scm
+++ b/gnu/packages/djvu.scm
@@ -182,7 +182,10 @@ a continuous layout.")
(substitute* "tests/test-xmp-broken.py"
;; Error message changed in recent versions of XML parser
(("XML parsing failure")
- "Error in XMLValidator")))))))
+ "Error in XMLValidator"))))
+ (add-before 'check 'set-home-for-tests
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
(synopsis "PDF to DjVu converter")
(description
"@code{pdf2djvu} creates DjVu files from PDF files.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates-frozen updated: gnu: pdf2djvu: Fix tests.,
guix-commits <=