You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Apparently XCTExpectFailure does not exist on Linux. */
10
+
// #if os(Linux)
17
11
// XCTExpectFailure("Linux has a crash in NSConditionLock. This test is only here to remember to check if the bug is fixed from time to time (simply uncomment the second line of the test; if test does not crash on Linux we’re good).")
18
-
XCTAssert(false,"Linux has a crash in NSConditionLock. This test is only here to remember to check if the bug is fixed from time to time (simply uncomment the second line of the test; if test does not crash on Linux we’re good).")
19
-
#endif
12
+
// #endif
13
+
14
+
letp=Process()
15
+
p.executableURL =Utils.helperURL
16
+
p.arguments =["condition-lock"]
17
+
18
+
try p.run()
19
+
20
+
Thread.sleep(forTimeInterval:0.125) /* We wait a little bit to let the helper test have the time to crash */
21
+
p.terminate()
22
+
Thread.sleep(forTimeInterval:0.125) /* We wait a little bit to let the helper test process the signal and quit */
0 commit comments