me
/
guix
Archived
1
0
Fork 0

gnu: praat: Add tests to praat.

* gnu/packages/language.scm (praat): Run non-graphical tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Preston M. Firestone 2023-06-26 12:42:16 -05:00 committed by Ludovic Courtès
parent 730fea3f28
commit a9070e8ece
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 1 deletions

View File

@ -867,13 +867,21 @@ noun phrases, verb phrases, etc.).")
(build-system gnu-build-system)
(arguments
`(#:make-flags (list (string-append "CC=" ,(cc-for-target)))
#:tests? #f ; no test target
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'delete-failing-tests
(lambda _
(delete-file "test/sys/graphicsText.praat")
#t))
(replace 'configure
(lambda _
(copy-file "makefiles/makefile.defs.linux.pulse" "makefile.defs")
#t))
(replace 'check
(lambda _
(invoke "./praat" "--run"
"test/runAllTests_batch.praat")
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))