[lldbsuite] Un-xfail tests on Windows that are now passing

This is a set of tests that were all marked as failing becuse of pr24489. The bug is not fixed (as in more of the tests that were marked this way are failing), but this set is 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: 349665
This commit is contained in:
Stella Stamenova 2018-12-19 19:04:01 +00:00
parent 3560e93dc1
commit 756b91dc14
10 changed files with 1 additions and 37 deletions

View File

@ -23,7 +23,6 @@ class TestExprLookupAnonStructTypedef(TestBase):
# Find the breakpoint
self.line = line_number('main.cpp', '// lldb testsuite break')
@expectedFailureAll(oslist=["windows"])
@expectedFailureAll(
oslist=['linux'],
archs=['arm'],

View File

@ -25,9 +25,6 @@ class ExprCommandCallStopContinueTestCase(TestBase):
self.func_line = line_number('main.cpp', '{5, "five"}')
@expectedFlakeyDarwin("llvm.org/pr20274")
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test(self):
"""Test gathering result from interrupted function call."""
self.build()

View File

@ -28,9 +28,6 @@ class ExprCommandCallUserDefinedFunction(TestBase):
'main.cpp',
'// Please test these expressions while stopped at this line:')
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test(self):
"""Test return values of user defined function calls."""
self.build()

View File

@ -18,7 +18,6 @@ class CommandLineExprCompletionTestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489")
def test_expr_completion(self):
self.build()
self.main_source = "main.cpp"
@ -195,7 +194,6 @@ class CommandLineExprCompletionTestCase(TestBase):
self.complete_exactly('expr some_expr.Self(). FooNoArgs',
'expr some_expr.Self(). FooNoArgsBar()')
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489")
def test_expr_completion_with_descriptions(self):
self.build()
self.main_source = "main.cpp"
@ -227,7 +225,6 @@ class CommandLineExprCompletionTestCase(TestBase):
["some_expr.MemberVariableBar", "int"],
])
def assume_no_completions(self, str_input, cursor_pos = None):
interp = self.dbg.GetCommandInterpreter()
match_strings = lldb.SBStringList()

View File

@ -24,9 +24,6 @@ class ExprCommands2TestCase(TestBase):
'main.cpp',
'// Please test many expressions while stopped at this line:')
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_more_expr_commands(self):
"""Test some more expression commands."""
self.build()
@ -60,9 +57,7 @@ class ExprCommands2TestCase(TestBase):
# (int) $5 = 6
@skipIfLinux
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489")
def test_expr_symbols(self):
"""Test symbols."""
self.build()

View File

@ -16,9 +16,6 @@ class CallCPPFunctionTestCase(TestBase):
TestBase.setUp(self)
self.line = line_number('main.cpp', '// breakpoint')
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_with_run_command(self):
"""Test calling a function by basename"""
self.build()

View File

@ -16,9 +16,6 @@ class OverloadedFunctionsTestCase(TestBase):
TestBase.setUp(self)
self.line = line_number('main.cpp', '// breakpoint')
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_with_run_command(self):
"""Test that functions with the same name are resolved correctly"""
self.build()

View File

@ -16,9 +16,6 @@ class RvalueReferencesTestCase(TestBase):
@expectedFailureAll(
compiler="icc",
bugnumber="ICC (13.1, 14-beta) do not emit DW_TAG_rvalue_reference_type.")
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_with_run_command(self):
"""Test that rvalues are supported in the C++ expression parser"""
self.build()

View File

@ -47,7 +47,6 @@ class TemplateArgsTestCase(TestBase):
# Get frame for current thread
return thread.GetSelectedFrame()
@expectedFailureAll(oslist=["windows"])
def test_integer_args(self):
frame = self.prepareProcess()
@ -111,11 +110,9 @@ class TemplateArgsTestCase(TestBase):
self.assertTrue(f4.GetType().GetName() == 'int')
self.assertTrue(f4.GetValue() == '42')
# Gcc does not generate the necessary DWARF attribute for enum template
# parameters.
@expectedFailureAll(bugnumber="llvm.org/pr28354", compiler="gcc")
@expectedFailureAll(oslist=["windows"])
def test_enum_args(self):
frame = self.prepareProcess()

View File

@ -31,25 +31,16 @@ class UnicodeLiteralsTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_expr1(self):
"""Test that the expression parser returns proper Unicode strings."""
self.build()
self.rdar12991846(expr=1)
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_expr2(self):
"""Test that the expression parser returns proper Unicode strings."""
self.build()
self.rdar12991846(expr=2)
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
def test_expr3(self):
"""Test that the expression parser returns proper Unicode strings."""
self.build()