Files
clang-p2996/lldb/test/API/sanity/TestModuleCacheSanity.py
Dave Lee 4cc8f2a017 [lldb][tests] Automatically call compute_mydir (NFC)
Eliminate boilerplate of having each test manually assign to `mydir` by calling
`compute_mydir` in lldbtest.py.

Differential Revision: https://reviews.llvm.org/D128077
2022-06-17 14:34:49 -07:00

20 lines
474 B
Python

"""
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'])