summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-12-29 10:00:00 +0100
committerPavel Labath <pavel@labath.sk>2021-12-29 10:00:00 +0100
commitdaed4797fee4a5f1985388265f5af209b5cb3b10 (patch)
tree5910a1a6200bca9a7cc8c27da0a923f5608b3517 /lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py
parentcaa7e765e5ae250c67eab3edd7cd324d3634f779 (diff)
[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.
Diffstat (limited to 'lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py')
-rw-r--r--lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py3
1 files changed, 2 insertions, 1 deletions
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.