https://github.com/weliveindetail created https://github.com/llvm/llvm-project/pull/185004
Attempt to fix forward a test failure after https://github.com/llvm/llvm-project/pull/183302, which seems to be caused by reusing build directories for test inferiors in LLDB API tests. From 103905475307aa3990ebac031f91a0b256792f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= <[email protected]> Date: Fri, 6 Mar 2026 14:05:35 +0100 Subject: [PATCH] [lldb] Fix lldb-x86_64-win bot after #183302 --- lldb/test/API/symstore/Makefile | 2 -- lldb/test/API/symstore/TestSymStoreLocal.py | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-) 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
