gnu: praat: Honor #:tests?.
* gnu/packages/language.scm (praat)[arguments]: Check #:tests? in 'check phase.
parent
67d480d4a0
commit
f1badc9406
|
@ -877,9 +877,10 @@ noun phrases, verb phrases, etc.).")
|
||||||
(copy-file "makefiles/makefile.defs.linux.pulse"
|
(copy-file "makefiles/makefile.defs.linux.pulse"
|
||||||
"makefile.defs")))
|
"makefile.defs")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
(invoke "./praat" "--run"
|
(invoke "./praat" "--run"
|
||||||
"test/runAllTests_batch.praat")))
|
"test/runAllTests_batch.praat"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Reference in New Issue