bolt/deps/llvm-18.1.8/lldb/test/API/sanity/TestModuleCacheSanity.py

20 lines
499 B
Python
Raw Normal View History

2025-02-14 19:21:04 +01:00
"""
This is a sanity check that verifies that the module cache path is set
correctly and points inside the default test build directory.
"""
import lldb
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.lldbtest import *
class ModuleCacheSanityTestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
def test(self):
self.expect(
"settings show symbols.clang-modules-cache-path",
substrs=["lldb-test-build.noindex", "module-cache-lldb"],
)