]> git.eshelyaron.com Git - emacs.git/commit
Factor out function to check for clang in tests
authorStefan Kangas <stefan@marxist.se>
Mon, 31 Jan 2022 06:42:50 +0000 (07:42 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 31 Jan 2022 06:42:50 +0000 (07:42 +0100)
commit9a56b4e6864c4e0815bb67805cfa67910ab3eeb5
treeb0b8eaf28fada595580503937122ee27765f341e
parentd464454f4502e337d4114e7b818aad11c9506497
Factor out function to check for clang in tests

This also stops a flymake test from failing on my machine.

* lisp/emacs-lisp/ert-x.el (ert-gcc-is-clang-p): New function
factored out from ...
* test/lisp/progmodes/flymake-tests.el (flymake-tests--gcc-is-clang):
* test/lisp/cedet/semantic/bovine/gcc-tests.el
(semantic-gcc-test-output-parser-this-machine): ... here.

* test/lisp/progmodes/flymake-tests.el (different-diagnostic-types)
(included-c-header-files):
* test/lisp/cedet/semantic/bovine/gcc-tests.el
(semantic-gcc-test-output-parser-this-machine): Use above new function.
lisp/emacs-lisp/ert-x.el
test/lisp/cedet/semantic/bovine/gcc-tests.el
test/lisp/progmodes/flymake-tests.el