summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-01-12 15:57:29 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2022-01-12 15:57:29 -0500
commit917a623a9dd21bc1d73fd13d91de57d924ce2692 (patch)
treeb1a4415fa62e80d5dea4e534a902a7fb234ae0ef /test/lisp/progmodes
parent7b139afbf4bfcd734ef50cd0d17b9a2f21620512 (diff)
parent22ddd2ba13ae002a23f41ae543e211a06a85ad8f (diff)
downloademacs-917a623a9dd21bc1d73fd13d91de57d924ce2692.tar.gz
emacs-917a623a9dd21bc1d73fd13d91de57d924ce2692.tar.bz2
emacs-917a623a9dd21bc1d73fd13d91de57d924ce2692.zip
Merge remote-tracking branch 'origin/emacs-28' into trunk
Diffstat (limited to 'test/lisp/progmodes')
-rw-r--r--test/lisp/progmodes/flymake-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/progmodes/flymake-tests.el b/test/lisp/progmodes/flymake-tests.el
index ced7b5aaced..0793b2bfdab 100644
--- a/test/lisp/progmodes/flymake-tests.el
+++ b/test/lisp/progmodes/flymake-tests.el
@@ -145,6 +145,11 @@ SEVERITY-PREDICATE is used to setup
(string-match "[Cc]lang version "
(shell-command-to-string "gcc --version")))
+(defun flymake-tests--gcc-is-clang ()
+ "Whether the `gcc' command actually runs the Clang compiler."
+ (string-match "[Cc]lang version "
+ (shell-command-to-string "gcc --version")))
+
(ert-deftest different-diagnostic-types ()
"Test GCC warning via function predicate."
(skip-unless (and (executable-find "gcc")