[Lldb-commits] [lldb] c053ec9 - [lldb] Fix TestDAP_runInTerminal for #96256

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 24 05:16:44 PDT 2024


Author: Pavel Labath
Date: 2024-06-24T14:16:24+02:00
New Revision: c053ec95f7e66ff212c8a867426cc7275a4dace6

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

LOG: [lldb] Fix TestDAP_runInTerminal for #96256

change the expected error msg.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py b/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
index 9fcd210122d54..b214b512c0de3 100644
--- a/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
+++ b/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
@@ -105,7 +105,7 @@ def test_runInTerminalInvalidTarget(self):
         )
         self.assertFalse(response["success"])
         self.assertIn(
-            "Could not create a target for a program 'INVALIDPROGRAM': unable to find executable",
+            "Could not create a target for a program 'INVALIDPROGRAM': 'INVALIDPROGRAM' does not exist",
             response["message"],
         )
 


        


More information about the lldb-commits mailing list