From: Philipp Stephani Date: Tue, 28 Dec 2021 20:05:23 +0000 (+0100) Subject: Fix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431) X-Git-Tag: emacs-29.0.90~3388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e52becfbe2a33c025b8c4838b3c8f06ba5a6fb8;p=emacs.git 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. --- diff --git a/test/lisp/cedet/semantic/bovine/gcc-tests.el b/test/lisp/cedet/semantic/bovine/gcc-tests.el index ba84ce4d81b..04a02ec03bd 100644 --- a/test/lisp/cedet/semantic/bovine/gcc-tests.el +++ b/test/lisp/cedet/semantic/bovine/gcc-tests.el @@ -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))))