[Lldb-commits] [lldb] r326640 - Mark ObjC testcase as skipUnlessDarwin and fix a typo in test function.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 2 15:57:09 PST 2018
Author: adrian
Date: Fri Mar 2 15:57:09 2018
New Revision: 326640
URL: http://llvm.org/viewvc/llvm-project?rev=326640&view=rev
Log:
Mark ObjC testcase as skipUnlessDarwin and fix a typo in test function.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py?rev=326640&r1=326639&r2=326640&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-cache/TestClangModulesCache.py Fri Mar 2 15:57:09 2018
@@ -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")
More information about the lldb-commits
mailing list