1"""
2This is a sanity check that verifies that the module cache path is set
3correctly and points inside the default test build directory.
4"""
5
6
7import lldb
8import lldbsuite.test.lldbutil as lldbutil
9from lldbsuite.test.lldbtest import *
10
11
12class ModuleCacheSanityTestCase(TestBase):
13
14  mydir = TestBase.compute_mydir(__file__)
15
16  NO_DEBUG_INFO_TESTCASE = True
17
18  def test(self):
19    self.expect(
20        'settings show symbols.clang-modules-cache-path',
21        substrs=['lldb-test-build.noindex', 'module-cache-lldb'])
22