aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPreston M. Firestone <firestone.preston@gmail.com>2023-06-26 12:42:16 -0500
committerLudovic Courtès <ludo@gnu.org>2023-08-07 16:08:50 +0200
commita9070e8ece5e4c9951047e304ee864f2b3016346 (patch)
treed2c0c94d3538b9da1abdf9adf6ad4121a05e6ae1 /gnu/packages
parent730fea3f284dd78c1e05e6c8ab8ebf150a6393c3 (diff)
downloadguix-a9070e8ece5e4c9951047e304ee864f2b3016346.tar
guix-a9070e8ece5e4c9951047e304ee864f2b3016346.tar.gz
gnu: praat: Add tests to praat.
* gnu/packages/language.scm (praat): Run non-graphical tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/language.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index fc33e6f42e..11fc17b427 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -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"))