diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-01-12 15:57:29 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-01-12 15:57:29 -0500 |
commit | 917a623a9dd21bc1d73fd13d91de57d924ce2692 (patch) | |
tree | b1a4415fa62e80d5dea4e534a902a7fb234ae0ef /test/lisp/progmodes | |
parent | 7b139afbf4bfcd734ef50cd0d17b9a2f21620512 (diff) | |
parent | 22ddd2ba13ae002a23f41ae543e211a06a85ad8f (diff) | |
download | emacs-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.el | 5 |
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") |