[Lldb-commits] [lldb] 39e12e0 - [lldb] Update error message in TestDAP_optimized after #94420

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 5 11:25:23 PDT 2024


Author: Jonas Devlieghere
Date: 2024-06-05T11:25:17-07:00
New Revision: 39e12e0ab2dd3b0ed9741c9796de15a020741727

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

LOG: [lldb] Update error message in TestDAP_optimized after #94420

Fixes:
  https://lab.llvm.org/buildbot/#/builders/68/builds/75571

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py b/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
index dc7f4f98875fd..42a95de309a08 100644
--- a/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
+++ b/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
@@ -47,6 +47,6 @@ def test_optimized_variable(self):
         self.assertTrue(optimized_variable["value"].startswith("<error:"))
         error_msg = optimized_variable["$__lldb_extensions"]["error"]
         self.assertTrue(
-            ("Could not evaluate DW_OP_entry_value" in error_msg)
+            ("could not evaluate DW_OP_entry_value: no parent function" in error_msg)
             or ("variable not available" in error_msg)
         )


        


More information about the lldb-commits mailing list