Skip to content

Commit

Permalink
[lldb] Adjust TestModuleCacheSimple for D115951
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
labath committed Dec 29, 2021
1 parent caa7e76 commit daed479
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -26,7 +26,8 @@ def setUp(self):


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.
Expand Down

0 comments on commit daed479

Please sign in to comment.