[Lldb-commits] [lldb] f6d3901 - [LLDB] Fix TestStructuredBinding.py for libstdc++
Shafik Yaghmour via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 17 11:30:14 PST 2022
Author: Shafik Yaghmour
Date: 2022-02-17T11:30:07-08:00
New Revision: f6d390193cbcc3b9a0e900202023bd80bd5ac4a4
URL: https://github.com/llvm/llvm-project/commit/f6d390193cbcc3b9a0e900202023bd80bd5ac4a4
DIFF: https://github.com/llvm/llvm-project/commit/f6d390193cbcc3b9a0e900202023bd80bd5ac4a4.diff
LOG: [LLDB] Fix TestStructuredBinding.py for libstdc++
For the tuple case for the TestStructuredBinding.py the result type is different
between libc++ and libstdc++.
Added:
Modified:
lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
Removed:
################################################################################
diff --git a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
index 694377341a03c..9f57d45dd9fc1 100644
--- a/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
+++ b/lldb/test/API/lang/cpp/structured-binding/TestStructuredBinding.py
@@ -75,10 +75,10 @@ def test(self):
self.expect_expr("iarr_copy2", result_type="int", result_value="33")
self.expect_expr("iarr_copy3", result_type="int", result_value="44")
- self.expect_expr("tx1", result_type="float", result_value="4")
- self.expect_expr("ty1", result_type="char", result_value="'z'")
- self.expect_expr("tz1", result_type="int", result_value="10")
+ self.expect_expr("tx1", result_value="4")
+ self.expect_expr("ty1", result_value="'z'")
+ self.expect_expr("tz1", result_value="10")
- self.expect_expr("tx2", result_type="float", result_value="4")
- self.expect_expr("ty2", result_type="char", result_value="'z'")
- self.expect_expr("tz2", result_type="int", result_value="10")
+ self.expect_expr("tx2", result_value="4")
+ self.expect_expr("ty2", result_value="'z'")
+ self.expect_expr("tz2", result_value="10")
More information about the lldb-commits
mailing list