summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
-rw-r--r--lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
index ccefc28946e0..5dd268be4cb0 100644
--- a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
+++ b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
@@ -111,6 +111,7 @@ class GlobalModuleCacheTestCase(TestBase):
else:
if one_target:
new_debugger = lldb.SBDebugger().Create()
+ new_debugger.SetSelectedPlatform(lldb.selected_platform)
new_debugger.SetAsync(False)
self.old_debugger = self.dbg
self.dbg = new_debugger