aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/test_utils/pdb/TestPdb.py
blob: bd3a9d0c34ab3e5fb08232489ef98e75871d3865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
Test PDB enabled tests
"""

from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *


class TestBuildMethod(TestBase):
    TEST_WITH_PDB_DEBUG_INFO = True

    def test(self):
        self.build()
        self.assertTrue(self.dbg.CreateTarget(self.getBuildArtifact()))
        if self.getDebugInfo() == "pdb":
            self.expect(
                "target modules dump symfile", patterns=["SymbolFile (native-)?pdb"]
            )