me
/
guix
Archived
1
0
Fork 0

gnu: praat: Honor #:tests?.

* gnu/packages/language.scm (praat)[arguments]: Check #:tests? in 'check
phase.
Ludovic Courtès 2023-08-07 16:11:01 +02:00
parent 67d480d4a0
commit f1badc9406
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 3 deletions

View File

@ -877,9 +877,10 @@ noun phrases, verb phrases, etc.).")
(copy-file "makefiles/makefile.defs.linux.pulse"
"makefile.defs")))
(replace 'check
(lambda _
(invoke "./praat" "--run"
"test/runAllTests_batch.praat")))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "./praat" "--run"
"test/runAllTests_batch.praat"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))