]> git.eshelyaron.com Git - emacs.git/commit
Restrict downcasing in elisp xref tests (bug#25534)
authorGlenn Morris <rgm@gnu.org>
Wed, 19 Dec 2018 02:18:31 +0000 (21:18 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 19 Dec 2018 02:18:31 +0000 (21:18 -0500)
commit4c6c327d0c66a21416ed1b5e9738b7dd13e739f2
treee645a871753147f56341d63cfa028a3dbb394ce1
parentab8ed418596da550c79913ccc42e8c3842bca315
Restrict downcasing in elisp xref tests (bug#25534)

The tests happen to not fail at the moment because find-library-name
now has an extra feature, find-library--from-load-history, which
happens to do a case-insensitive regexp match; but still it seems
better not to rely on this.

* test/lisp/progmodes/elisp-mode-tests.el (xref--case-insensitive):
New variable.
(xref-elisp-test-run, emacs-test-dir): Only downcase if the
filesystem seems to be case-insensitive.
test/lisp/progmodes/elisp-mode-tests.el