All tests matching '-p TestObjCMethods' now are marked correctly for MacOSX, and some
error classes have been removed in cleanup code looking for files that
might not exist due to previous failure.
See http://llvm.org/bugs/show_bug.cgi?id=20267
llvm-svn: 212650
Also lookup objective-c data types and evaluate expressions.
"""
-import os, time
+import os, os.path, time
import unittest2
import lldb
import string
self.expression_lookups_objc()
@dwarf_test
+ @expectedFailureDarwin("llvm.org/pr20267")
def test_expression_lookups_objc_dwarf(self):
"""Test running an expression detect spurious debug info lookups (DWARF)."""
self.buildDwarf()
self.runCmd("log disable dwarf lookups")
def cleanup():
- os.unlink (logfile)
+ if os.path.exists (logfile):
+ os.unlink (logfile)
self.addTearDownHook(cleanup)
self.runCmd("process continue")
- @unittest2.expectedFailure(8741897)
def NSArray_expr(self):
"""Test expression commands for NSArray."""
exe = os.path.join(os.getcwd(), "a.out")