[clang] 2498964 - [clang][test] NFC, check in darwin-ld-platform-version-macos-requires-darwin.c should be more permissive
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 12 15:57:42 PDT 2022
Author: Alex Lorenz
Date: 2022-10-12T15:57:27-07:00
New Revision: 24989646a5216cc6f8c6d336a17e7cb2f5c60454
URL: https://github.com/llvm/llvm-project/commit/24989646a5216cc6f8c6d336a17e7cb2f5c60454
DIFF: https://github.com/llvm/llvm-project/commit/24989646a5216cc6f8c6d336a17e7cb2f5c60454.diff
LOG: [clang][test] NFC, check in darwin-ld-platform-version-macos-requires-darwin.c should be more permissive
some Darwin CI uses older SDK that reports different SDK version here
https://green.lab.llvm.org/green/job/clang-stage1-RA/
Added:
Modified:
clang/test/Driver/darwin-ld-platform-version-macos-requires-darwin.c
Removed:
################################################################################
diff --git a/clang/test/Driver/darwin-ld-platform-version-macos-requires-darwin.c b/clang/test/Driver/darwin-ld-platform-version-macos-requires-darwin.c
index 24c0c0c20b70..6026ab5d41d3 100644
--- a/clang/test/Driver/darwin-ld-platform-version-macos-requires-darwin.c
+++ b/clang/test/Driver/darwin-ld-platform-version-macos-requires-darwin.c
@@ -5,6 +5,6 @@
// RUN: %clang -fuse-ld= -arch arm64 -mlinker-version=520 -isysroot %t/MacOSX12.sdk/does-not-exist -### %t/f.o 2>&1 | FileCheck %s
-// CHECK: "-platform_version" "macos" "[[NUMBER:[0-9]+]].0.0" "[[NUMBER]].0"
+// CHECK: "-platform_version" "macos" "{{[0-9]+}}.0.0" "{{[0-9]+}}.{{[0-9]+}}"
// REQUIRES: system-darwin
More information about the cfe-commits
mailing list