Skip to content

Commit bf6da5e

Browse files
committed
[bootstrap] Remove deprecated "--build-tests"
The "--build-tests" option is marked "deprecated" in the SwiftPM bootstrap script and is no longer used by the script. It is also no longer used by any systems calling the bootstrap script; its only usage in the Swift build script has been removed in swiftlang/swift#1547. Remove the option to reduce confusion.
1 parent c3e97ac commit bf6da5e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Tests are an important part of the development and evolution of this project,
8484
and new contributions are expected to include tests for any functionality
8585
change. To run the tests, pass the `test` verb to the `bootstrap` script:
8686

87-
./Utilities/bootstrap --build-tests test
87+
./Utilities/bootstrap test
8888

8989
> Long-term, we intend for testing to be an integral part of the Package Manager itself
9090
> and to not require custom support.

Utilities/bootstrap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,6 @@ def main():
451451
help="use verbose output")
452452
parser.add_argument("--xctest", dest="xctest_path",
453453
help="Path to XCTest build directory")
454-
parser.add_argument("--build-tests", action="store_true",
455-
help="Deprecated")
456454
args = parser.parse_args()
457455
build_actions = set(args.build_actions)
458456

0 commit comments

Comments
 (0)