19 lines · python
1"""2Test PDB enabled tests3"""4 5from lldbsuite.test.decorators import *6from lldbsuite.test.lldbtest import *7 8 9class TestBuildMethod(TestBase):10 TEST_WITH_PDB_DEBUG_INFO = True11 12 def test(self):13 self.build()14 self.assertTrue(self.dbg.CreateTarget(self.getBuildArtifact()))15 if self.getDebugInfo() == "pdb":16 self.expect(17 "target modules dump symfile", patterns=["SymbolFile (native-)?pdb"]18 )19