]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431)
authorPhilipp Stephani <phst@google.com>
Tue, 28 Dec 2021 20:05:23 +0000 (21:05 +0100)
committerPhilipp Stephani <phst@google.com>
Tue, 28 Dec 2021 20:07:32 +0000 (21:07 +0100)
* test/lisp/cedet/semantic/bovine/gcc-tests.el
(semantic-gcc-test-output-parser-this-machine): Also detect Apple
clang on macOS Monterey.

test/lisp/cedet/semantic/bovine/gcc-tests.el

index ba84ce4d81b266ea96520a020333debfad7c0a47..04a02ec03bdcd383804165d35b752efc0b4ef707 100644 (file)
@@ -128,7 +128,7 @@ gcc version 2.95.2 19991024 (release)"
     ;; We can't even check if it's a symlink; it's a binary placed in
     ;; "/usr/bin/gcc".  So check the output and just skip this test if
     ;; it looks like that's the case.
-    (unless (string-match "Apple LLVM\\|Xcode.app"
+    (unless (string-match "Apple \\(LLVM\\|clang\\)\\|Xcode\\.app"
                           (car semantic-gcc-test-strings))
         (semantic-gcc-test-output-parser))))