mirror of
https://github.com/intel/llvm.git
synced 2026-01-31 16:29:50 +08:00
[lldb] Adjust TestModuleCacheSimple for D115951
Now that we are caching the dwarf index as well, we will always have more than one cache file (when not using accelerator tables). I have adjusted the test to check for the presence of one _symtab_ index.
This commit is contained in:
@@ -26,7 +26,8 @@ class ModuleCacheTestcaseSimple(TestBase):
|
||||
|
||||
|
||||
def get_module_cache_files(self, basename):
|
||||
module_file_glob = os.path.join(self.cache_dir, "llvmcache-*%s*" % (basename))
|
||||
module_file_glob = os.path.join(self.cache_dir,
|
||||
"llvmcache-*%s*-symtab-*" % (basename))
|
||||
return glob.glob(module_file_glob)
|
||||
|
||||
# Doesn't depend on any specific debug information.
|
||||
|
||||
Reference in New Issue
Block a user