[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
This commit is contained in:
Raphael Isemann
2020-11-05 15:09:38 +01:00
parent ae2cb4f427
commit 239f488fd6

View 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")