From 77f46034d11a24fea9242ae9189f9119215a48f3 Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Fri, 8 Nov 2024 20:38:35 +0000 Subject: [PATCH] [cxx-interop][LLDB] Update test for variadic templates, part 1 C++ class template instantiations previously did not get a valid generated Swift type name if they used variadic generics. See https://github.com/swiftlang/swift/pull/77450. Since fully enabling the test requires the Swift PR to be merged, and the Swift PR relies on this test passing, this PR temporarily disables the failing asserts. rdar://139435937 rdar://106459037 --- .../TestSwiftForwardInteropVariadicTemplateTypes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py b/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py index 19501ba8d14b1..51e899042f192 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py @@ -17,8 +17,9 @@ def test(self): self.expect('frame var pair', substrs=['Pair', 'Tuple', '_t', 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30']) - self.expect('expr pair', substrs=['Pair', 'Tuple', '_t', - 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30']) + # rdar://106459037 (Swift/C++ interop: Variadic templates aren't displayed correctly) + # self.expect('expr pair', substrs=['Pair', 'Tuple', '_t', + # 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30']) # rdar://106459037 (Swift/C++ interop: Variadic templates aren't displayed correctly) # self.expect('frame var variadic', substrs=['Tuple', '_t',