================
@@ -1,25 +1,24 @@
 """
-Test lldb-dap launch request.
+Test lldb-dap custom request.
 """
 
 from lldbsuite.test.decorators import expectedFailureWindows
 import lldbdap_testcase
 
 
-class TestDAP_launch_unknown_request(lldbdap_testcase.DAPTestCaseBase):
+class TestDAP_unknown_request(lldbdap_testcase.DAPTestCaseBase):
     """
     Tests handling of unknown request.
     """
 
-    @expectedFailureWindows(
-        bugnumber="https://github.com/llvm/llvm-project/issues/137599";
-    )
     def test(self):
         program = self.getBuildArtifact("a.out")
-        self.build_and_launch(program)
+        self.build_and_launch(program, stopOnEntry=True)
+        self.dap_server.request_configurationDone()
+        self.dap_server.wait_for_stopped()
 
-        response = self.dap_server.request_unknown()
+        response = self.dap_server.request_custom("unknown")
         self.assertFalse(response["success"])
----------------
da-viper wrote:

could you add another test request with arguments.

And can the folder be called unknown/TestDAP_unknownRequest.py
 

https://github.com/llvm/llvm-project/pull/181109
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to