forked from OSchip/llvm-project
[lldbsuite] Un-xfail tests on Windows that are now passing (pt.3)
This is a set of tests that were all marked as failing becuse of several different bugs. A couple of the bugs are now resolved as fixed since all the tests that were failing associated with the bug are now passing. It is possible that some of them are false positives, but there's a large number of unexpectedly passing tests on Windows, so I am doing a bulk un-xfail to get the buildbot to green. llvm-svn: 349711
This commit is contained in:
parent
16a0de2e55
commit
68ddb76807
|
@ -1,7 +1,4 @@
|
||||||
from lldbsuite.test import lldbinline
|
from lldbsuite.test import lldbinline
|
||||||
from lldbsuite.test import decorators
|
from lldbsuite.test import decorators
|
||||||
|
|
||||||
lldbinline.MakeInlineTest(
|
lldbinline.MakeInlineTest(__file__, globals())
|
||||||
__file__, globals(), [
|
|
||||||
lldbinline.expectedFailureAll(
|
|
||||||
oslist=["windows"])])
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ class NamespaceLookupTestCase(TestBase):
|
||||||
'stop reason = breakpoint'])
|
'stop reason = breakpoint'])
|
||||||
|
|
||||||
@expectedFailureAll(
|
@expectedFailureAll(
|
||||||
oslist=["windows", "freebsd"],
|
oslist=["freebsd"],
|
||||||
bugnumber="llvm.org/pr25819")
|
bugnumber="llvm.org/pr25819")
|
||||||
def test_scope_lookup_with_run_command(self):
|
def test_scope_lookup_with_run_command(self):
|
||||||
"""Test scope lookup of functions in lldb."""
|
"""Test scope lookup of functions in lldb."""
|
||||||
|
@ -201,7 +201,6 @@ class NamespaceLookupTestCase(TestBase):
|
||||||
# finds the global ::func().
|
# finds the global ::func().
|
||||||
self.expect("expr -- func()", startstr="(int) $0 = 2")
|
self.expect("expr -- func()", startstr="(int) $0 = 2")
|
||||||
|
|
||||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr25819")
|
|
||||||
def test_scope_lookup_before_using_with_run_command(self):
|
def test_scope_lookup_before_using_with_run_command(self):
|
||||||
"""Test scope lookup before using in lldb."""
|
"""Test scope lookup before using in lldb."""
|
||||||
self.build()
|
self.build()
|
||||||
|
@ -227,7 +226,7 @@ class NamespaceLookupTestCase(TestBase):
|
||||||
oslist=["linux"],
|
oslist=["linux"],
|
||||||
debug_info=["dwo"]) # Skip to avoid crash
|
debug_info=["dwo"]) # Skip to avoid crash
|
||||||
@expectedFailureAll(
|
@expectedFailureAll(
|
||||||
oslist=["windows", "freebsd"],
|
oslist=["freebsd"],
|
||||||
bugnumber="llvm.org/pr25819")
|
bugnumber="llvm.org/pr25819")
|
||||||
def test_scope_after_using_directive_lookup_with_run_command(self):
|
def test_scope_after_using_directive_lookup_with_run_command(self):
|
||||||
"""Test scope lookup after using directive in lldb."""
|
"""Test scope lookup after using directive in lldb."""
|
||||||
|
@ -291,7 +290,7 @@ class NamespaceLookupTestCase(TestBase):
|
||||||
self.expect("expr -- func()", startstr="error")
|
self.expect("expr -- func()", startstr="error")
|
||||||
|
|
||||||
@expectedFailureAll(
|
@expectedFailureAll(
|
||||||
oslist=["windows", "freebsd"],
|
oslist=["freebsd"],
|
||||||
bugnumber="llvm.org/pr25819")
|
bugnumber="llvm.org/pr25819")
|
||||||
def test_scope_lookup_shadowed_by_using_with_run_command(self):
|
def test_scope_lookup_shadowed_by_using_with_run_command(self):
|
||||||
"""Test scope lookup shadowed by using in lldb."""
|
"""Test scope lookup shadowed by using in lldb."""
|
||||||
|
|
|
@ -20,7 +20,6 @@ class FrameAPITestCase(TestBase):
|
||||||
mydir = TestBase.compute_mydir(__file__)
|
mydir = TestBase.compute_mydir(__file__)
|
||||||
|
|
||||||
@add_test_categories(['pyapi'])
|
@add_test_categories(['pyapi'])
|
||||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
|
||||||
def test_get_arg_vals_for_call_stack(self):
|
def test_get_arg_vals_for_call_stack(self):
|
||||||
"""Exercise SBFrame.GetVariables() API to get argument vals."""
|
"""Exercise SBFrame.GetVariables() API to get argument vals."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -76,7 +76,6 @@ class HelloWorldTestCase(TestBase):
|
||||||
self.assertEqual(breakpoint.GetHitCount(), 1, BREAKPOINT_HIT_ONCE)
|
self.assertEqual(breakpoint.GetHitCount(), 1, BREAKPOINT_HIT_ONCE)
|
||||||
|
|
||||||
@add_test_categories(['pyapi'])
|
@add_test_categories(['pyapi'])
|
||||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24600")
|
|
||||||
@skipIfiOSSimulator
|
@skipIfiOSSimulator
|
||||||
def test_with_attach_to_process_with_id_api(self):
|
def test_with_attach_to_process_with_id_api(self):
|
||||||
"""Create target, spawn a process, and attach to it with process id."""
|
"""Create target, spawn a process, and attach to it with process id."""
|
||||||
|
@ -107,7 +106,6 @@ class HelloWorldTestCase(TestBase):
|
||||||
'(int)argc=2'])
|
'(int)argc=2'])
|
||||||
|
|
||||||
@add_test_categories(['pyapi'])
|
@add_test_categories(['pyapi'])
|
||||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24600")
|
|
||||||
@skipIfiOSSimulator
|
@skipIfiOSSimulator
|
||||||
def test_with_attach_to_process_with_name_api(self):
|
def test_with_attach_to_process_with_name_api(self):
|
||||||
"""Create target, spawn a process, and attach to it with process name."""
|
"""Create target, spawn a process, and attach to it with process name."""
|
||||||
|
|
|
@ -108,7 +108,6 @@ class TargetWatchAddressAPITestCase(TestBase):
|
||||||
# No size constraint on MIPS for watches
|
# No size constraint on MIPS for watches
|
||||||
@skipIf(archs=['mips', 'mipsel', 'mips64', 'mips64el'])
|
@skipIf(archs=['mips', 'mipsel', 'mips64', 'mips64el'])
|
||||||
@skipIf(archs=['s390x']) # Likewise on SystemZ
|
@skipIf(archs=['s390x']) # Likewise on SystemZ
|
||||||
@expectedFailureAll(oslist=["windows"])
|
|
||||||
def test_watch_address_with_invalid_watch_size(self):
|
def test_watch_address_with_invalid_watch_size(self):
|
||||||
"""Exercise SBTarget.WatchAddress() API but pass an invalid watch_size."""
|
"""Exercise SBTarget.WatchAddress() API but pass an invalid watch_size."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
Loading…
Reference in New Issue