1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: pdf2djvu: Fix tests.

* gnu/packages/djvu.scm (pdf2djvu)[arguments]: Add 'set-home-for-tests' phase.
This commit is contained in:
Guillaume Le Vaillant
2021-11-13 10:13:08 +01:00
parent b5941f7be8
commit a12a41cdd1

View File

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