@@ -39,6 +39,8 @@ struct PipeConfigurationTests {
39
39
#expect( result. terminationStatus. isSuccess)
40
40
}
41
41
42
+ // FIXME - these function tests are hanging on Linux
43
+ #if os(macOS)
42
44
@Test func testBasicSwiftFunctionBeginning( ) async throws {
43
45
let config =
44
46
pipe { input, output, error in
@@ -131,6 +133,7 @@ struct PipeConfigurationTests {
131
133
#expect( result. standardOutput? . trimmingCharacters ( in: . whitespacesAndNewlines) == " Hello World " )
132
134
#expect( result. terminationStatus. isSuccess)
133
135
}
136
+ #endif
134
137
135
138
@Test func testPipeConfigurationWithConfiguration( ) async throws {
136
139
let configuration = Configuration (
@@ -395,6 +398,8 @@ struct PipeConfigurationTests {
395
398
#expect( result. terminationStatus. isSuccess)
396
399
}
397
400
401
+ // FIXME - These tests are hanging on Linux
402
+ #if os(macOS)
398
403
@Test func testSwiftFunctionWithFileDescriptorInput( ) async throws {
399
404
// Create a temporary file with JSON content
400
405
let tempURL = FileManager . default. temporaryDirectory. appendingPathComponent ( " json_test_ \( UUID ( ) . uuidString) .json " )
@@ -447,6 +452,7 @@ struct PipeConfigurationTests {
447
452
#expect( result. standardOutput? . contains ( " Person: Alice, Age: 30, Location: New York " ) == true )
448
453
#expect( result. terminationStatus. isSuccess)
449
454
}
455
+ #endif
450
456
451
457
@Test func testComplexPipelineWithStringInputAndSwiftFunction( ) async throws {
452
458
let csvData = " name,score,grade \n Alice,95,A \n Bob,87,B \n Charlie,92,A \n Dave,78,C "
@@ -490,6 +496,8 @@ struct PipeConfigurationTests {
490
496
#expect( result. terminationStatus. isSuccess)
491
497
}
492
498
499
+ // FIXME - this test is hanging on Linux
500
+ #if os(macOS)
493
501
@Test func testMultiStageSwiftFunctionPipelineWithStringInput( ) async throws {
494
502
let numbers = " 10 \n 25 \n 7 \n 42 \n 13 \n 8 \n 99 "
495
503
@@ -546,6 +554,7 @@ struct PipeConfigurationTests {
546
554
547
555
#expect( result. terminationStatus. isSuccess)
548
556
}
557
+ #endif
549
558
550
559
// MARK: - Shared Error Handling Tests
551
560
0 commit comments