diff options
author | Eric Bavier <bavier@member.fsf.org> | 2019-01-07 17:27:59 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2019-01-08 09:09:31 -0600 |
commit | fefcb122ac21b58985f1feba5174d0d9bf96af66 (patch) | |
tree | e0a70aa7d0d1ec7d726bd082a202287e07b52585 /gnu/packages/cdrom.scm | |
parent | 98b0ec7fa637c82a513c00457e48212adf1a8b51 (diff) | |
download | guix-fefcb122ac21b58985f1feba5174d0d9bf96af66.tar.gz |
gnu: dvdisaster: Run regression tests.
* gnu/packages/cdrom.scm (dvdisaster)[arguments]: Remove #:tests? argument. Add 'check' phase.
Diffstat (limited to 'gnu/packages/cdrom.scm')
-rw-r--r-- | gnu/packages/cdrom.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index f7ca51f7a2..cf095a17b7 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -358,9 +358,15 @@ or @command{xorrisofs} to create ISO 9660 images.") `(;; Parallel builds appear to be unsafe, see ;; <http://hydra.gnu.org/build/49331/nixlog/1/raw>. #:parallel-build? #f - #:tests? #f ; no check target #: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 (lambda* (#:key outputs #:allow-other-keys) (let* ((datadir (string-append (assoc-ref outputs "out") "/share"))) |