Author: Stefan Gränitz
Date: 2026-03-06T16:22:37+01:00
New Revision: bc077f52c9fe20f60f1319eee0d704e5265fde1b

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

LOG: [lldb] Fix lldb-x86_64-win bot after 454eb8bc0ac (#185004)

Attempt to fix forward a test failure after llvm-project#183302,
which seems to be caused by reusing build directories for test
inferiors in LLDB API tests.

Added: 
    

Modified: 
    lldb/test/API/symstore/Makefile
    lldb/test/API/symstore/TestSymStoreLocal.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/symstore/Makefile b/lldb/test/API/symstore/Makefile
index 6279aee698dad..c9319d6e6888a 100644
--- a/lldb/test/API/symstore/Makefile
+++ b/lldb/test/API/symstore/Makefile
@@ -1,4 +1,2 @@
-MAKE_PDB := YES
-
 C_SOURCES := main.c
 include Makefile.rules

diff  --git a/lldb/test/API/symstore/TestSymStoreLocal.py 
b/lldb/test/API/symstore/TestSymStoreLocal.py
index f45e368613847..154af876fea3f 100644
--- a/lldb/test/API/symstore/TestSymStoreLocal.py
+++ b/lldb/test/API/symstore/TestSymStoreLocal.py
@@ -71,12 +71,11 @@ class SymStoreLocalTests(TestBase):
     TEST_WITH_PDB_DEBUG_INFO = True
 
     def build_inferior(self):
+        if self.getDebugInfo() != "pdb":
+            self.skipTest("Non-PDB debug info variants not yet supported")
         self.build()
         exe_file = "a.out"
-        if self.getDebugInfo() == "pdb":
-            sym_file = "a.pdb"
-        else:
-            self.skipTest("Non-PDB debug info variants not yet supported")
+        sym_file = "a.pdb"
         self.assertTrue(os.path.isfile(self.getBuildArtifact(exe_file)))
         self.assertTrue(os.path.isfile(self.getBuildArtifact(sym_file)))
         return exe_file, sym_file


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

Reply via email to