`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
@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")