Skip to content

[build_script.py] Add --foundation-build-dir parameter [AsyncXCTest 1/6] #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions build_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ def main(args=sys.argv[1:]):
"temporary directory is used",
metavar="PATH",
default=tempfile.mkdtemp())
build_parser.add_argument(
"--foundation-build-dir",
help="Path to swift-corelibs-foundation build products, which "
"the built XCTest.so will be linked against.",
metavar="PATH",
required=False)
build_parser.add_argument("--swift-build-dir",
help="deprecated, do not use")
build_parser.add_argument("--arch", help="deprecated, do not use")
Expand Down Expand Up @@ -208,6 +214,12 @@ def main(args=sys.argv[1:]):
"--swiftc",
help="Path to the 'swiftc' compiler used to build and run the tests.",
required=True)
test_parser.add_argument(
"--foundation-build-dir",
help="Path to swift-corelibs-foundation build products, which the "
"tests will be linked against.",
metavar="PATH",
required=False)

install_parser = subparsers.add_parser(
"install",
Expand Down