@@ -2292,15 +2292,27 @@ final class BackgroundIndexingTests: XCTestCase {
2292
2292
SourcesItem (
2293
2293
target: libATarget,
2294
2294
sources: [
2295
- sourceItem ( for: projectRoot. appendingPathComponent ( " Shared.swift " ) , outputPath: " /LibA/Shared.swift.o " ) ,
2296
- sourceItem ( for: projectRoot. appendingPathComponent ( " LibA.swift " ) , outputPath: " /LibA/LibA.swift.o " ) ,
2295
+ sourceItem (
2296
+ for: projectRoot. appendingPathComponent ( " Shared.swift " ) ,
2297
+ outputPath: fakeOutputPath ( for: " Shared.swift " , in: " LibA " )
2298
+ ) ,
2299
+ sourceItem (
2300
+ for: projectRoot. appendingPathComponent ( " LibA.swift " ) ,
2301
+ outputPath: fakeOutputPath ( for: " LibA.swift " , in: " LibA " )
2302
+ ) ,
2297
2303
]
2298
2304
) ,
2299
2305
SourcesItem (
2300
2306
target: libBTarget,
2301
2307
sources: [
2302
- sourceItem ( for: projectRoot. appendingPathComponent ( " Shared.swift " ) , outputPath: " /LibB/Shared.swift.o " ) ,
2303
- sourceItem ( for: projectRoot. appendingPathComponent ( " LibB.swift " ) , outputPath: " /LibB/LibB.swift.o " ) ,
2308
+ sourceItem (
2309
+ for: projectRoot. appendingPathComponent ( " Shared.swift " ) ,
2310
+ outputPath: fakeOutputPath ( for: " Shared.swift " , in: " LibB " )
2311
+ ) ,
2312
+ sourceItem (
2313
+ for: projectRoot. appendingPathComponent ( " LibB.swift " ) ,
2314
+ outputPath: fakeOutputPath ( for: " LibB.swift " , in: " LibB " )
2315
+ ) ,
2304
2316
]
2305
2317
) ,
2306
2318
]
@@ -2398,13 +2410,19 @@ final class BackgroundIndexingTests: XCTestCase {
2398
2410
SourcesItem (
2399
2411
target: libATarget,
2400
2412
sources: [
2401
- sourceItem ( for: projectRoot. appendingPathComponent ( " LibA.c " ) , outputPath: " /LibA/LibA.c.o " )
2413
+ sourceItem (
2414
+ for: projectRoot. appendingPathComponent ( " LibA.c " ) ,
2415
+ outputPath: fakeOutputPath ( for: " LibA.c " , in: " LibA " )
2416
+ )
2402
2417
]
2403
2418
) ,
2404
2419
SourcesItem (
2405
2420
target: libBTarget,
2406
2421
sources: [
2407
- sourceItem ( for: projectRoot. appendingPathComponent ( " LibB.c " ) , outputPath: " /LibB/LibB.c.o " )
2422
+ sourceItem (
2423
+ for: projectRoot. appendingPathComponent ( " LibB.c " ) ,
2424
+ outputPath: fakeOutputPath ( for: " LibB.c " , in: " LibB " )
2425
+ )
2408
2426
]
2409
2427
) ,
2410
2428
]
0 commit comments