[lldb] Skip TestChangeProcessGroup on watchOS/tvOS
authorRaphael Isemann <teemperor@gmail.com>
Thu, 5 Nov 2020 14:09:38 +0000 (15:09 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 5 Nov 2020 14:11:30 +0000 (15:11 +0100)
`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

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

index 51c0ae7..75e0b93 100644 (file)
@@ -25,6 +25,8 @@ class ChangeProcessGroupTestCase(TestBase):
     @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")