Author: walter erquinigo
Date: 2024-01-02T13:30:44-05:00
New Revision: 0d19a8983c05de321d8ab592995e7a36bca448ee

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

LOG: Fix builtbot

https://lab.llvm.org/buildbot/#/builders/96/builds/50702/steps/6/logs/stdio 
requires checking for multiple error messages

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 418a6225febd03..90b130d3af4d55 100644
--- a/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
+++ b/lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
@@ -47,7 +47,8 @@ def test_optimized_variable(self):
         optimized_variable = self.dap_server.get_local_variable("argc")
 
         self.assertTrue(optimized_variable["value"].startswith("<error:"))
-        self.assertEqual(
-            optimized_variable["$__lldb_extensions"]["error"],
-            "Could not evaluate DW_OP_entry_value.",
+        error_msg = optimized_variable["$__lldb_extensions"]["error"]
+        self.assertTrue(
+            ("Could not evaluate DW_OP_entry_value" in error_msg)
+            or ("variable not available" in error_msg)
         )


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to