me
/
guix
Archived
1
0
Fork 0

gnu: pdf2djvu: Fix tests.

* gnu/packages/djvu.scm (pdf2djvu)[arguments]: Add 'set-home-for-tests' phase.
master
Guillaume Le Vaillant 2021-11-13 10:13:08 +01:00
parent b5941f7be8
commit a12a41cdd1
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 4 additions and 1 deletions

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.