[Lldb-commits] [lldb] fb61dce - [lldb] Fix test expectation in `TestCoroutineHandle.py` for 32-bit systems

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 20 10:30:47 PST 2022


Author: Adrian Vogelsgesang
Date: 2022-11-20T10:30:29-08:00
New Revision: fb61dce1adc4572e794e836861915d8ae372749d

URL: https://github.com/llvm/llvm-project/commit/fb61dce1adc4572e794e836861915d8ae372749d
DIFF: https://github.com/llvm/llvm-project/commit/fb61dce1adc4572e794e836861915d8ae372749d.diff

LOG: [lldb] Fix test expectation in `TestCoroutineHandle.py` for 32-bit systems

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py
index ed03fd0961cce..44e5e6451c10d 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py
@@ -97,7 +97,7 @@ def do_test(self, stdlib_type):
             self.expect_expr("type_erased_hdl",
                 result_summary=re.compile("^coro frame = 0x[0-9a-f]*$"),
                 result_children=[
-                    ValueCheck(name="resume", value = "0x0000000000000000"),
+                    ValueCheck(name="resume", value = re.compile("^0x0+$")),
                     ValueCheck(name="destroy", summary = test_generator_func_ptr_re),
                     ValueCheck(name="promise", children=[
                         ValueCheck(name="current_value", value = "42"),


        


More information about the lldb-commits mailing list