@@ -996,7 +996,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
996
996
" -I " , stdLibPath. nativePathString ( escaped: true ) ,
997
997
" -I " , shimsPath. nativePathString ( escaped: true ) ,
998
998
" -F " , frameworksPath. nativePathString ( escaped: true ) ,
999
- " -import-objc-header " ,
1000
999
" -explicit-module-build " ,
1001
1000
" -module-name " , " main " ,
1002
1001
" -working-directory " , path. nativePathString ( escaped: true ) ,
@@ -1193,7 +1192,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1193
1192
" -I " , swiftModuleInterfacesPath. nativePathString ( escaped: true ) ,
1194
1193
" -I " , stdlibPath. nativePathString ( escaped: true ) ,
1195
1194
" -I " , shimsPath. nativePathString ( escaped: true ) ,
1196
- " -import-objc-header " ,
1197
1195
" -explicit-module-build " ,
1198
1196
" -working-directory " , path. nativePathString ( escaped: true ) ,
1199
1197
" -disable-clang-target " ,
@@ -1265,7 +1263,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1265
1263
" -I " , stdlibPath. nativePathString ( escaped: true ) ,
1266
1264
" -I " , shimsPath. nativePathString ( escaped: true ) ,
1267
1265
" /tmp/Foo.o " ,
1268
- " -import-objc-header " ,
1269
1266
" -explicit-module-build " ,
1270
1267
" -working-directory " , path. nativePathString ( escaped: true ) ,
1271
1268
" -disable-clang-target " ,
@@ -1303,7 +1300,10 @@ final class ExplicitModuleBuildTests: XCTestCase {
1303
1300
DispatchQueue . concurrentPerform ( iterations: 20 ) { index in
1304
1301
// Give the main modules different names
1305
1302
let iterationCommand = scannerCommand + [ " -module-name " ,
1306
- " testDependencyScanning \( index) " ]
1303
+ " testDependencyScanning \( index) " ,
1304
+ // FIXME: We need to differentiate the scanning action hash,
1305
+ // though the module-name above should be sufficient.
1306
+ " -I/tmp/foo/bar/ \( index) " ]
1307
1307
let dependencyGraph =
1308
1308
try ! dependencyOracle. getDependencies ( workingDirectory: path,
1309
1309
commandLine: iterationCommand)
@@ -1458,7 +1458,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1458
1458
" -I " , swiftModuleInterfacesPath. nativePathString ( escaped: true ) ,
1459
1459
" -I " , stdlibPath. nativePathString ( escaped: true ) ,
1460
1460
" -I " , shimsPath. nativePathString ( escaped: true ) ,
1461
- " -import-objc-header " ,
1462
1461
" -explicit-module-build " ,
1463
1462
" -working-directory " , path. nativePathString ( escaped: true ) ,
1464
1463
" -disable-clang-target " ,
0 commit comments