From a9070e8ece5e4c9951047e304ee864f2b3016346 Mon Sep 17 00:00:00 2001 From: "Preston M. Firestone" Date: Mon, 26 Jun 2023 12:42:16 -0500 Subject: gnu: praat: Add tests to praat. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/language.scm (praat): Run non-graphical tests. Signed-off-by: Ludovic Courtès --- gnu/packages/language.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu/packages') 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 @@ (define-public praat (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")) -- cgit v1.2.3