GNU bug report logs - #50509
28.0.50; [PATCH] elisp-mode-tests regression

Previous Next

Package: emacs;

Reported by: dick.r.chiang <at> gmail.com

Date: Fri, 10 Sep 2021 13:38:01 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: dick.r.chiang <at> gmail.com, 50509 <at> debbugs.gnu.org
Subject: bug#50509: 28.0.50; [PATCH] elisp-mode-tests regression
Date: Fri, 10 Sep 2021 18:12:24 +0300
Hi!

Do you mean to say that 'make check' fails for you, locally or on the CI?

On 10.09.2021 16:36, dick.r.chiang <at> gmail.com wrote:
>  From c8f9869ba7e022d1952c75fc5076bd26e0843072 Mon Sep 17 00:00:00 2001
> From: dickmao <none>
> Date: Fri, 10 Sep 2021 09:31:28 -0400
> Subject: [PATCH] A so-called "CICD" integrated into a PR-based submission
>   flow...
> 
> ... would have caught this.  Just saying.
> 
> * test/lisp/progmodes/elisp-mode-tests.el (find-defs-defgeneric-el):
> ---
>   test/lisp/progmodes/elisp-mode-tests.el | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/test/lisp/progmodes/elisp-mode-tests.el b/test/lisp/progmodes/elisp-mode-tests.el
> index f47d54e59c..2745aff670 100644
> --- a/test/lisp/progmodes/elisp-mode-tests.el
> +++ b/test/lisp/progmodes/elisp-mode-tests.el
> @@ -604,6 +604,12 @@ find-defs-defgeneric-el
>                   'xref-location-marker nil '(xref-etags-location))
>                  'cl-defmethod
>                  (expand-file-name "../../../lisp/progmodes/etags.el" emacs-test-dir)))
> +   (xref-make "(cl-defmethod xref-location-marker ((l xref-etags-apropos-location)))"
> +              (xref-make-elisp-location
> +               (cl--generic-load-hist-format
> +                'xref-location-marker nil '(xref-etags-apropos-location))
> +               'cl-defmethod
> +               (expand-file-name "../../../lisp/progmodes/etags.el" emacs-test-dir)))
>      ))
>   
>   (xref-elisp-deftest find-defs-defgeneric-eval

The change above doesn't make sense: elisp and 
xref-etags-apropos-location do not mix.




This bug report was last modified 3 years and 252 days ago.

Previous Next


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