From 3a217e143e8740c2b056d6f44bca9b7a79bf0444 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 2 Apr 2019 10:56:29 +0100 Subject: [PATCH] [libcxx] Actually push macosx version so that UNSUPPORTED works. --- libcxx/utils/libcxx/test/config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index 186a273a5b5..4224d7213de 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -497,6 +497,11 @@ class Configuration(object): self.cxx.hasCompileFlag(["-x", "objective-c++", "-fobjc-arc"]): self.config.available_features.add("objective-c++") + if self.target_info.platform() == "darwin" and \ + self.target_info.is_host_macosx(): + t, name, vers = self.target_info.get_platform() + self.config.available_features.add(name + vers) + def configure_compile_flags(self): no_default_flags = self.get_lit_bool('no_default_flags', False) if not no_default_flags: