From fefcb122ac21b58985f1feba5174d0d9bf96af66 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 7 Jan 2019 17:27:59 -0600 Subject: gnu: dvdisaster: Run regression tests. * gnu/packages/cdrom.scm (dvdisaster)[arguments]: Remove #:tests? argument. Add 'check' phase. --- gnu/packages/cdrom.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') 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 @@ (define-public dvdisaster `(;; Parallel builds appear to be unsafe, see ;; . #: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"))) -- cgit v1.2.3