Author: David Spickett
Date: 2025-09-08T12:12:15Z
New Revision: e2d1bbebbb099c7010a31fad62a9128166ef14a0

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

LOG: [lldb][lldb-dap] Disable another part of TestDAP_launch.py on Windows

Has been flakey on our Windows on Arm bot:
https://lab.llvm.org/buildbot/#/builders/141/builds/11373

```
======================================================================

ERROR: test_stopOnEntry (TestDAP_launch.TestDAP_launch.test_stopOnEntry)

    Tests the default launch of a simple program that stops at the

----------------------------------------------------------------------

Traceback (most recent call last):

  File 
"C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py",
 line 2090, in tearDown

    Base.tearDown(self)

  File 
"C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py",
 line 1105, in tearDown

    hook()  # try the plain call and hope it works

    ^^^^^^

  File 
"C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\lldbdap_testcase.py",
 line 521, in cleanup

    self.dap_server.terminate()

  File 
"C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py",
 line 1602, in terminate

    raise DebugAdapterProcessError(process.returncode)

dap_server.DebugAdapterProcessError: lldb-dap returned non-zero exit status 1.

Config=aarch64-C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe

----------------------------------------------------------------------
```

See #137660

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py 
b/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
index 5aaf5985ba749..22fcd42b3d36a 100644
--- a/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
+++ b/lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
@@ -95,6 +95,8 @@ def test_termination(self):
         # Check the return code
         self.assertEqual(self.dap_server.process.poll(), 0)
 
+    # Flakey on Windows, https://github.com/llvm/llvm-project/issues/137660.
+    @skipIfWindows
     def test_stopOnEntry(self):
         """
         Tests the default launch of a simple program that stops at the


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

Reply via email to