Skip to content

Commit 6e4bb60

Browse files
committed
[libc++] Assume newer LLVM versions for not-yet-released macOS versions
This makes the test suite forward-compatible with future versions of macOS. Previously, the Lit features were built in a way that they would assume that any newer macOS version doesn't contain any version of LLVM, which doesn't make sense.
1 parent 57b76b4 commit 6e4bb60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/utils/libcxx/test/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def check_gdb(cfg):
587587
Feature(
588588
name="_target-has-llvm-17",
589589
when=lambda cfg: BooleanExpression.evaluate(
590-
"target={{.+}}-apple-macosx{{14.[4-9](.0)?}}",
590+
"target={{.+}}-apple-macosx{{14.[4-9](.0)?}} || target={{.+}}-apple-macosx{{1[5-9]([.].+)?}}",
591591
cfg.available_features,
592592
),
593593
),

0 commit comments

Comments
 (0)