[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:
Pavel Labath
2021-12-29 10:00:00 +01:00
parent caa7e765e5
commit daed4797fe

View File

@@ -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.