bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21816: elisp-mode-tests fails on a case-preserving filesystem


From: Stephen Leake
Subject: bug#21816: elisp-mode-tests fails on a case-preserving filesystem
Date: Thu, 05 Nov 2015 07:23:47 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Juanma Barranquero <lekktu@gmail.com> writes:

> On Wed, Nov 4, 2015 at 4:29 PM, Stephen Leake <
> stephen_leake@stephe-leake.org> wrote:
>
>> If the policy is that `load-path' may contain directory names that are
>> different from the disk name, then taking advantage of that should not
>> produce warnings.
>>
>> But that discussion should move to a separate bug/subject.
>
> For this specific test file, I could fix the problem with this patch, if
> you and Dmitry are OK with it.
>
> diff --git i/test/automated/elisp-mode-tests.el
> w/test/automated/elisp-mode-tests.el
> index 1085b54..38c0b3b 100644
> --- i/test/automated/elisp-mode-tests.el
> +++ w/test/automated/elisp-mode-tests.el
> @@ -209,6 +209,7 @@ xref-elisp-deftest
>             (debug (symbolp "name")))
>    `(ert-deftest ,(intern (concat "xref-elisp-test-" (symbol-name name))) ()
> -     (xref-elisp-test-run ,computed-xrefs ,expected-xrefs)
> -     ))
> +     (let ((find-file-suppress-same-file-warnings t))
> +       (xref-elisp-test-run ,computed-xrefs ,expected-xrefs)
> +       )))
>

looks good to me


-- 
-- Stephe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]