Marked TestObjCMethods failing tests XFAIL, fixed cleanup code, removed now-passing expected failure markers.
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
This commit is contained in:
parent
029bd3350e
commit
532d8a709b
|
@ -3,7 +3,7 @@ Set breakpoints on objective-c class and instance methods in foundation.
|
||||||
Also lookup objective-c data types and evaluate expressions.
|
Also lookup objective-c data types and evaluate expressions.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os, time
|
import os, os.path, time
|
||||||
import unittest2
|
import unittest2
|
||||||
import lldb
|
import lldb
|
||||||
import string
|
import string
|
||||||
|
@ -119,6 +119,7 @@ class FoundationTestCase(TestBase):
|
||||||
self.expression_lookups_objc()
|
self.expression_lookups_objc()
|
||||||
|
|
||||||
@dwarf_test
|
@dwarf_test
|
||||||
|
@expectedFailureDarwin("llvm.org/pr20267")
|
||||||
def test_expression_lookups_objc_dwarf(self):
|
def test_expression_lookups_objc_dwarf(self):
|
||||||
"""Test running an expression detect spurious debug info lookups (DWARF)."""
|
"""Test running an expression detect spurious debug info lookups (DWARF)."""
|
||||||
self.buildDwarf()
|
self.buildDwarf()
|
||||||
|
@ -141,7 +142,8 @@ class FoundationTestCase(TestBase):
|
||||||
self.runCmd("log disable dwarf lookups")
|
self.runCmd("log disable dwarf lookups")
|
||||||
|
|
||||||
def cleanup():
|
def cleanup():
|
||||||
os.unlink (logfile)
|
if os.path.exists (logfile):
|
||||||
|
os.unlink (logfile)
|
||||||
|
|
||||||
self.addTearDownHook(cleanup)
|
self.addTearDownHook(cleanup)
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,6 @@ class FoundationTestCase2(TestBase):
|
||||||
|
|
||||||
self.runCmd("process continue")
|
self.runCmd("process continue")
|
||||||
|
|
||||||
@unittest2.expectedFailure(8741897)
|
|
||||||
def NSArray_expr(self):
|
def NSArray_expr(self):
|
||||||
"""Test expression commands for NSArray."""
|
"""Test expression commands for NSArray."""
|
||||||
exe = os.path.join(os.getcwd(), "a.out")
|
exe = os.path.join(os.getcwd(), "a.out")
|
||||||
|
|
Loading…
Reference in New Issue