[lldb] [test] Remove xfail from tests that pass on FreeBSD
authorMichał Górny <mgorny@moritz.systems>
Tue, 3 Nov 2020 17:46:10 +0000 (18:46 +0100)
committerMichał Górny <mgorny@moritz.systems>
Tue, 3 Nov 2020 21:01:59 +0000 (22:01 +0100)
lldb/test/API/api/multiple-targets/TestMultipleTargets.py
lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py
lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py
lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
lldb/test/API/python_api/thread/TestThreadAPI.py

index 1268ff9..eebaea3 100644 (file)
@@ -19,7 +19,7 @@ class TestMultipleTargets(TestBase):
     @skipIfNoSBHeaders
     @skipIfHostIncompatibleWithRemote
     @expectedFailureAll(
-        oslist=["windows", "freebsd"],
+        oslist=["windows"],
         bugnumber="llvm.org/pr20282")
     def test_multiple_targets(self):
         env = {self.dylibPath: self.getLLDBLibraryEnvVal()}
index bb0a9f9..8577258 100644 (file)
@@ -25,9 +25,6 @@ class AvoidsFdLeakTestCase(TestBase):
     mydir = TestBase.compute_mydir(__file__)
 
     @expectedFailureIfFn(python_leaky_fd_version, "bugs.freebsd.org/197376")
-    @expectedFailureAll(
-        oslist=['freebsd'],
-        bugnumber="llvm.org/pr25624 still failing with Python 2.7.10")
     # The check for descriptor leakage needs to be implemented differently
     # here.
     @skipIfWindows
index aa5e20b..cafd51c 100644 (file)
@@ -14,9 +14,6 @@ class SkipSummaryDataFormatterTestCase(TestBase):
     mydir = TestBase.compute_mydir(__file__)
 
     @expectedFailureAll(
-        oslist=['freebsd'],
-        bugnumber="llvm.org/pr20548 fails to build on lab.llvm.org buildbot")
-    @expectedFailureAll(
         oslist=["windows"],
         bugnumber="llvm.org/pr24462, Data formatters have problems on Windows")
     def test_with_run_command(self):
index d40eee0..b0a52e1 100644 (file)
@@ -37,7 +37,6 @@ class CPP11EnumTypesTestCase(TestBase):
             self.expect_expr("var_below_" + suffix, result_type=enum_name, result_value="-3")
             self.expect_expr("var_above_" + suffix, result_type=enum_name, result_value="1")
 
-    @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr36527')
     @skipIf(dwarf_version=['<', '4'])
     def test(self):
         self.build()
index fa8e2dd..5761ab7 100644 (file)
@@ -38,9 +38,6 @@ class NamespaceLookupTestCase(TestBase):
                     substrs=['stopped',
                              'stop reason = breakpoint'])
 
-    @expectedFailureAll(
-        oslist=["freebsd"],
-        bugnumber="llvm.org/pr25819")
     @skipIfWindows # This is flakey on Windows: llvm.org/pr38373
     def test_scope_lookup_with_run_command(self):
         """Test scope lookup of functions in lldb."""
@@ -225,9 +222,6 @@ class NamespaceLookupTestCase(TestBase):
         compiler="gcc",
         oslist=["linux"],
         debug_info=["dwo"])  # Skip to avoid crash
-    @expectedFailureAll(
-        oslist=["freebsd"],
-        bugnumber="llvm.org/pr25819")
     def test_scope_after_using_directive_lookup_with_run_command(self):
         """Test scope lookup after using directive in lldb."""
         self.build()
@@ -289,9 +283,6 @@ class NamespaceLookupTestCase(TestBase):
         # the same type.
         self.expect("expr -- func()", startstr="error")
 
-    @expectedFailureAll(
-        oslist=["freebsd"],
-        bugnumber="llvm.org/pr25819")
     def test_scope_lookup_shadowed_by_using_with_run_command(self):
         """Test scope lookup shadowed by using in lldb."""
         self.build()
index 2101527..595ab77 100644 (file)
@@ -40,7 +40,6 @@ class ThreadAPITestCase(TestBase):
     @skipIfAsan # The output looks different under ASAN.
     @add_test_categories(['pyapi'])
     @expectedFailureAll(oslist=["linux"], archs=['arm'], bugnumber="llvm.org/pr45892")
-    @expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr20476')
     @expectedFailureAll(oslist=["windows"])
     @expectedFailureNetBSD
     def test_step_out_of_malloc_into_function_b(self):