Skip to content

Commit c79e22b

Browse files
committed
build: clean up the legacy paths
The new XCTest build has been CMake based for ages. This places the Swift contents in a directory named swift in the build tree. Update the search path.
1 parent ecfd7a9 commit c79e22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ def main():
11711171

11721172
# Add XCTest.
11731173
for module_file in ["XCTest.swiftmodule", "XCTest.swiftdoc"]:
1174-
symlink_force(os.path.join(args.xctest_path, module_file), libincludedir)
1174+
symlink_force(os.path.join(args.xctest_path, 'swift', module_file), libincludedir)
11751175
symlink_force(os.path.join(args.xctest_path, "libXCTest.so"), libswiftdir)
11761176

11771177
return (libswiftdir, libincludedir)

0 commit comments

Comments
 (0)