GNU bug report logs - #63473
[PATCH] gnu: praat: Update to 6.3.10.

Previous Next

Package: guix-patches;

Reported by: "Preston M. Firestone" <firestone.preston <at> gmail.com>

Date: Fri, 12 May 2023 22:11:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Preston M. Firestone" <firestone.preston <at> gmail.com>
To: 63473 <at> debbugs.gnu.org
Cc: "Preston M. Firestone" <firestone.preston <at> gmail.com>
Subject: [bug#63473] [PATCH 3/4] gnu: praat: Add tests to praat.
Date: Mon, 26 Jun 2023 12:42:16 -0500
* gnu/packages/language.scm (praat): Run non-graphical tests.
---
 gnu/packages/language.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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"))
-- 
2.40.1





This bug report was last modified 1 year and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.