From 239f488fd692f2af506b2b45d335404d0d2ab30b Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Thu, 5 Nov 2020 15:09:38 +0100 Subject: [PATCH] [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 --- lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py index 51c0ae7..75e0b93 100644 --- a/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py +++ b/lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py @@ -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") -- 2.7.4