[Lldb-commits] [lldb] 239f488 - [lldb] Skip TestChangeProcessGroup on watchOS/tvOS

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 5 06:11:51 PST 2020


Author: Raphael Isemann
Date: 2020-11-05T15:11:30+01:00
New Revision: 239f488fd692f2af506b2b45d335404d0d2ab30b

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

LOG: [lldb] Skip TestChangeProcessGroup on watchOS/tvOS

`fork` is marked as `__WATCHOS_PROHIBITED __TVOS_PROHIBITED` so the test source
which is calling fork will never compile on watchOS/tvOS. This just adds the
skip decorator for these platforms.

Reviewed By: mib

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

Added: 
    

Modified: 
    lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py
index 51c0ae75c1a3..75e0b9332fbe 100644
--- a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py
+++ b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py
@@ -25,6 +25,8 @@ def setUp(self):
     @expectedFailureAndroid("http://llvm.org/pr23762", api_levels=[16])
     @expectedFailureNetBSD
     @skipIfReproducer # File synchronization is not supported during replay.
+    @skipIftvOS # fork not available on tvOS.
+    @skipIfwatchOS # fork not available on watchOS.
     def test_setpgid(self):
         self.build()
         exe = self.getBuildArtifact("a.out")


        


More information about the lldb-commits mailing list