From 95d7a794cc48312c41a34ef9cdc0e5c95f35d2ac Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 12 Dec 2021 06:57:02 +0100 Subject: [PATCH] Update bovine/gcc-tests for newer Macos versions * test/lisp/cedet/semantic/bovine/gcc-tests.el (semantic-gcc-test-output-parser-this-machine): Update gcc->llvm detection to Macos Monterey. --- test/lisp/cedet/semantic/bovine/gcc-tests.el | 5 +++-- 1 file 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 d049f95b4cd..ba84ce4d81b 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)" ;; Some macOS machines run llvm when you type gcc. (!) ;; 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 says "Apple LLVM". - (unless (string-match "Apple LLVM" (car semantic-gcc-test-strings)) + ;; it looks like that's the case. + (unless (string-match "Apple LLVM\\|Xcode.app" + (car semantic-gcc-test-strings)) (semantic-gcc-test-output-parser)))) ;;; gcc-tests.el ends here -- 2.39.5