GNU bug report logs -
#77131
[PATCH emacs-team 00/51] Some test fixes.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Thu, 20 Mar 2025 09:25:02 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #68 received at 77131 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs-xyz.scm (emacs-bbdb-vcard)[arguments]
{test-command}: Set it.
{phases}: Add phase 'patch-tests to make it run. Some tests are
failing.
---
gnu/packages/emacs-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 31dd2e72fb..41d13cc70d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4464,6 +4464,21 @@ (define-public emacs-bbdb-vcard
(base32
"1sr5kd2gvw1b4hl147yb60cgx6j730vdnpyr09p7vmpw65hzwlwm"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:test-command #~(list "make" "test")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'patch-tests
+ (lambda _
+ (substitute* "Makefile"
+ (("test: \\$\\(ELCS\\)")
+ "test:"))
+ ;; FIXME Unclear why these tests fail.
+ (substitute* "bbdb-vcard-tests.el"
+ (("\\(ert-deftest bbdb-vcard-test-(bad-1|rfc2426) .*" all)
+ (string-append all "(skip-unless nil)"))))))))
+ (native-inputs (list which))
(propagated-inputs (list emacs-bbdb))
(home-page "https://github.com/tohojo/bbdb-vcard")
(synopsis
--
2.48.1
This bug report was last modified 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.