aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Stephani2021-12-28 21:05:23 +0100
committerRobert Pluim2022-01-12 09:08:33 +0100
commitad82bbdf08bb2d65c048299ce3740dd151ac733c (patch)
tree46a3574df37997f383a3e2ff4370d521d943fcbd
parent5e66166714f1a06e0312338c2507ae497a36f73a (diff)
downloademacs-ad82bbdf08bb2d65c048299ce3740dd151ac733c.tar.gz
emacs-ad82bbdf08bb2d65c048299ce3740dd151ac733c.zip
Fix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431)
* test/lisp/cedet/semantic/bovine/gcc-tests.el (semantic-gcc-test-output-parser-this-machine): Also detect Apple clang on macOS Monterey. (cherry picked from commit 6e52becfbe2a33c025b8c4838b3c8f06ba5a6fb8)
-rw-r--r--test/lisp/cedet/semantic/bovine/gcc-tests.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/cedet/semantic/bovine/gcc-tests.el b/test/lisp/cedet/semantic/bovine/gcc-tests.el
index 2ebd991679a..2e61f91e58c 100644
--- a/test/lisp/cedet/semantic/bovine/gcc-tests.el
+++ b/test/lisp/cedet/semantic/bovine/gcc-tests.el
@@ -127,8 +127,9 @@ gcc version 2.95.2 19991024 (release)"
127 ;; Some macOS machines run llvm when you type gcc. (!) 127 ;; Some macOS machines run llvm when you type gcc. (!)
128 ;; We can't even check if it's a symlink; it's a binary placed in 128 ;; We can't even check if it's a symlink; it's a binary placed in
129 ;; "/usr/bin/gcc". So check the output and just skip this test if 129 ;; "/usr/bin/gcc". So check the output and just skip this test if
130 ;; it says "Apple LLVM". 130 ;; it looks like that's the case.
131 (unless (string-match "Apple LLVM" (car semantic-gcc-test-strings)) 131 (unless (string-match "Apple \\(LLVM\\|clang\\)\\|Xcode\\.app"
132 (car semantic-gcc-test-strings))
132 (semantic-gcc-test-output-parser)))) 133 (semantic-gcc-test-output-parser))))
133 134
134;;; gcc-tests.el ends here 135;;; gcc-tests.el ends here