[Lldb-commits] [lldb] b7de7be - [lldb] [test] Remove xfail from tests that pass on FreeBSD

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 3 13:02:07 PST 2020


Author: Michał Górny
Date: 2020-11-03T22:01:59+01:00
New Revision: b7de7be098d7f167d10acb713fe601ad15f37071

URL: https://github.com/llvm/llvm-project/commit/b7de7be098d7f167d10acb713fe601ad15f37071
DIFF: https://github.com/llvm/llvm-project/commit/b7de7be098d7f167d10acb713fe601ad15f37071.diff

LOG: [lldb] [test] Remove xfail from tests that pass on FreeBSD

Added: 
    

Modified: 
    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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
index 1268ff9306a3..eebaea3c4fd2 100644
--- a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
+++ b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
@@ -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()}

diff  --git a/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py b/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py
index bb0a9f99b0db..85772582f6bd 100644
--- a/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py
+++ b/lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py
@@ -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 
diff erently
     # here.
     @skipIfWindows

diff  --git a/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py b/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
index aa5e20bd2f75..cafd51c20947 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py
@@ -13,9 +13,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")

diff  --git a/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py b/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py
index d40eee0cb1b0..b0a52e1552a6 100644
--- a/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py
+++ b/lldb/test/API/lang/cpp/enum_types/TestCPP11EnumTypes.py
@@ -37,7 +37,6 @@ def check_enum(self, suffix):
             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()

diff  --git a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
index fa8e2ddbbed5..5761ab7ef170 100644
--- a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
+++ b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
@@ -38,9 +38,6 @@ def runToBkpt(self, command):
                     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 @@ def test_scope_lookup_before_using_with_run_command(self):
         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 @@ def test_scope_ambiguity_after_using_lookup_with_run_command(self):
         # 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()

diff  --git a/lldb/test/API/python_api/thread/TestThreadAPI.py b/lldb/test/API/python_api/thread/TestThreadAPI.py
index 2101527dee6b..595ab778da20 100644
--- a/lldb/test/API/python_api/thread/TestThreadAPI.py
+++ b/lldb/test/API/python_api/thread/TestThreadAPI.py
@@ -40,7 +40,6 @@ def test_run_to_address(self):
     @skipIfAsan # The output looks 
diff erent 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):


        


More information about the lldb-commits mailing list