summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
index 180dbae6e25..3a5725ad79a 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
@@ -22,6 +22,7 @@ class ObjCModulesTestCase(TestBase):
def setUp(self):
TestBase.setUp(self)
+ @skipUnlessDarwin
def test_expr(self):
self.build()
self.main_source_file = lldb.SBFileSpec("main.m")
@@ -36,5 +37,5 @@ class ObjCModulesTestCase(TestBase):
% self.getSourceDir())
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
self, "Set breakpoint here", self.main_source_file)
- self.runCmd("expr @import Darwin")
+ self.runCmd("expr @import Foo")
self.assertTrue(os.path.isdir(mod_cache), "module cache exists")
OpenPOWER on IntegriCloud