@@ -2292,15 +2292,27 @@ final class BackgroundIndexingTests: XCTestCase {
22922292 SourcesItem (
22932293 target: libATarget,
22942294 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+ ) ,
22972303 ]
22982304 ) ,
22992305 SourcesItem (
23002306 target: libBTarget,
23012307 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+ ) ,
23042316 ]
23052317 ) ,
23062318 ]
@@ -2398,13 +2410,19 @@ final class BackgroundIndexingTests: XCTestCase {
23982410 SourcesItem (
23992411 target: libATarget,
24002412 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+ )
24022417 ]
24032418 ) ,
24042419 SourcesItem (
24052420 target: libBTarget,
24062421 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+ )
24082426 ]
24092427 ) ,
24102428 ]
0 commit comments