gnu: dvdisaster: Run regression tests.
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Remove #:tests? argument. Add 'check' phase.
This commit is contained in:
parent
98b0ec7fa6
commit
fefcb122ac
|
@ -358,9 +358,15 @@ or @command{xorrisofs} to create ISO 9660 images.")
|
||||||
`(;; Parallel builds appear to be unsafe, see
|
`(;; Parallel builds appear to be unsafe, see
|
||||||
;; <http://hydra.gnu.org/build/49331/nixlog/1/raw>.
|
;; <http://hydra.gnu.org/build/49331/nixlog/1/raw>.
|
||||||
#:parallel-build? #f
|
#:parallel-build? #f
|
||||||
#:tests? #f ; no check target
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(with-directory-excursion "regtest"
|
||||||
|
(substitute* "common.bash"
|
||||||
|
(("ISODIR=/var/tmp/regtest") "ISODIR=/tmp"))
|
||||||
|
(for-each invoke (find-files "." "rs.*\\.bash")))
|
||||||
|
#t))
|
||||||
(add-after 'install 'install-desktop
|
(add-after 'install 'install-desktop
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((datadir (string-append (assoc-ref outputs "out") "/share")))
|
(let* ((datadir (string-append (assoc-ref outputs "out") "/share")))
|
||||||
|
|
Loading…
Reference in New Issue