From daed4797fee4a5f1985388265f5af209b5cb3b10 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 29 Dec 2021 10:00:00 +0100 Subject: [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. --- .../functionalities/module_cache/simple_exe/TestModuleCacheSimple.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py') diff --git a/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py b/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py index 35e96fb584ed..6180203c4bb3 100644 --- a/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py +++ b/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py @@ -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. -- cgit v1.2.3