Author: Michał Górny
Date: 2020-11-18T12:09:11+01:00
New Revision: 97a2eac3a924f3081bf80ee69ce59bc89257b857

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

LOG: [lldb] [test] Un-XFAIL tests on freebsd/i386

Restrict i386-specific XFAIL on a few tests to non-FreeBSD systems,
as they pass on FreeBSD.

Differential Revision: https://reviews.llvm.org/D91645

Added: 
    

Modified: 
    lldb/test/API/functionalities/exec/TestExec.py
    lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/exec/TestExec.py 
b/lldb/test/API/functionalities/exec/TestExec.py
index 019df2177137..fab118cfcf2a 100644
--- a/lldb/test/API/functionalities/exec/TestExec.py
+++ b/lldb/test/API/functionalities/exec/TestExec.py
@@ -16,7 +16,9 @@ class ExecTestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
-    @expectedFailureAll(archs=['i386'], bugnumber="rdar://28656532")
+    @expectedFailureAll(archs=['i386'],
+                        oslist=no_match(["freebsd"]),
+                        bugnumber="rdar://28656532")
     @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], 
bugnumber="rdar://problem/34559552") # this exec test has problems on ios 
systems
     @expectedFailureNetBSD
     @skipIfAsan # rdar://problem/43756823
@@ -24,7 +26,9 @@ class ExecTestCase(TestBase):
     def test_hitting_exec (self):
         self.do_test(False)
 
-    @expectedFailureAll(archs=['i386'], bugnumber="rdar://28656532")
+    @expectedFailureAll(archs=['i386'],
+                        oslist=no_match(["freebsd"]),
+                        bugnumber="rdar://28656532")
     @expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], 
bugnumber="rdar://problem/34559552") # this exec test has problems on ios 
systems
     @expectedFailureNetBSD
     @skipIfAsan # rdar://problem/43756823

diff  --git 
a/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py 
b/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
index 92036b2f215a..500c314313fe 100644
--- a/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
+++ b/lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
@@ -31,6 +31,7 @@ def test_step_out_with_python(self):
             ">=",
             "3.9"],
         archs=["i386"],
+        oslist=no_match(["freebsd"]),
         bugnumber="llvm.org/pr28549")
     def test_step_over_with_python(self):
         """Test stepping over using avoid-no-debug with dwarf."""
@@ -47,6 +48,7 @@ def test_step_over_with_python(self):
             ">=",
             "3.9"],
         archs=["i386"],
+        oslist=no_match(["freebsd"]),
         bugnumber="llvm.org/pr28549")
     @expectedFailureAll(archs=["arm64"], 
bugnumber="<rdar://problem/34026777>")  # lldb doesn't step past last source 
line in function on arm64
     @expectedFailureAll(archs=["aarch64"], oslist=["linux"],


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to