@@ -229,8 +229,6 @@ struct PipeConfigurationTests {
229
229
#expect( result. terminationStatus. isSuccess)
230
230
}
231
231
232
- // FIXME - these function tests are hanging on Linux
233
- #if !os(Windows)
234
232
@Test func testBasicSwiftFunctionBeginning( ) async throws {
235
233
let config =
236
234
pipe { input, output, error in
@@ -261,9 +259,7 @@ struct PipeConfigurationTests {
261
259
#expect( result. standardOutput? . trimmingCharacters ( in: CharacterSet . whitespacesAndNewlines) == " Hello World " )
262
260
#expect( result. terminationStatus. isSuccess)
263
261
}
264
- #endif
265
262
266
- #if !os(Windows)
267
263
@Test func testBasicSwiftFunctionMiddle( ) async throws {
268
264
let config =
269
265
pipe (
@@ -295,9 +291,7 @@ struct PipeConfigurationTests {
295
291
#expect( result. standardOutput? . trimmingCharacters ( in: CharacterSet . whitespacesAndNewlines) == " Hello World " )
296
292
#expect( result. terminationStatus. isSuccess)
297
293
}
298
- #endif
299
294
300
- #if !os(Windows)
301
295
@Test func testBasicSwiftFunctionEnd( ) async throws {
302
296
let config =
303
297
pipe (
@@ -325,7 +319,6 @@ struct PipeConfigurationTests {
325
319
#expect( result. standardOutput? . trimmingCharacters ( in: CharacterSet . whitespacesAndNewlines) == " Hello World " )
326
320
#expect( result. terminationStatus. isSuccess)
327
321
}
328
- #endif
329
322
330
323
@Test func testPipeConfigurationWithConfiguration( ) async throws {
331
324
let configuration = Echo ( " Test Message " ) . configuration
@@ -571,8 +564,6 @@ struct PipeConfigurationTests {
571
564
#expect( result. terminationStatus. isSuccess)
572
565
}
573
566
574
- // FIXME - These tests are hanging on Linux
575
- #if !os(Windows)
576
567
@Test func testSwiftFunctionWithFileDescriptorInput( ) async throws {
577
568
// Create a temporary file with JSON content
578
569
let tempURL = FileManager . default. temporaryDirectory. appendingPathComponent ( " json_test_ \( UUID ( ) . uuidString) .json " )
@@ -625,7 +616,6 @@ struct PipeConfigurationTests {
625
616
#expect( result. standardOutput? . contains ( " Person: Alice, Age: 30, Location: New York " ) == true )
626
617
#expect( result. terminationStatus. isSuccess)
627
618
}
628
- #endif
629
619
630
620
@Test func testComplexPipelineWithStringInputAndSwiftFunction( ) async throws {
631
621
let csvData = " name,score,grade \n Alice,95,A \n Bob,87,B \n Charlie,92,A \n Dave,78,C "
@@ -669,8 +659,6 @@ struct PipeConfigurationTests {
669
659
#expect( result. terminationStatus. isSuccess)
670
660
}
671
661
672
- // FIXME - this test is hanging on Linux
673
- #if !os(Windows)
674
662
@Test func testMultiStageSwiftFunctionPipelineWithStringInput( ) async throws {
675
663
let numbers = " 10 \n 25 \n 7 \n 42 \n 13 \n 8 \n 99 "
676
664
@@ -727,7 +715,6 @@ struct PipeConfigurationTests {
727
715
728
716
#expect( result. terminationStatus. isSuccess)
729
717
}
730
- #endif
731
718
732
719
// MARK: - Shared Error Handling Tests
733
720
0 commit comments