]> git.eshelyaron.com Git - emacs.git/commit
New test for finding C header files
authorStefan Kangas <stefankangas@gmail.com>
Mon, 6 Jan 2025 19:03:48 +0000 (20:03 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 8 Jan 2025 08:52:35 +0000 (09:52 +0100)
commit8873a6ded234cfd24a14bb5608837a04580d1488
treed9179101989387ec82254eb1259567b582308b9b
parent0b56c3138f3e3cc55ca406c157ba9a385dd27e2b
New test for finding C header files

The assumption here is that if there is a C compiler, there is also a
math.h header somewhere.  The test should fail if we can't find that
file, and hopefully that will provoke users to create bug reports.

Let's see how far we can take this idea; we might have to give up and
disable the test in some configurations.  But doing that now seems
premature, even if we had a list of affected systems (which we don't).

* lisp/man.el (man--find-header-file): Factor out new function...
(Man-view-header-file): ...from here.
* test/lisp/man-tests.el (man-tests-find-header-file): New test.

(cherry picked from commit 15d940ad1fc3ca3a72c23d9873a32a1a68d0cb05)
lisp/man.el
test/lisp/man-tests.el