Skip to content

Commit 28f85e4

Browse files
Merge pull request #15428 from aschwaighofer/build_toolchain_default_to_no_test_macos
build-toolchain: Use the same behavior on macOS as we do on Linux
2 parents e374553 + 269f8c1 commit 28f85e4

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

utils/build-toolchain

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,8 @@ function usage() {
2323
echo "-n --dry-run"
2424
echo "Do a dry run."
2525
echo ""
26-
if [[ "$(uname -s)" == "Linux" ]] ; then
27-
echo "-t --test"
28-
echo "Run tests."
29-
echo ""
30-
fi
31-
echo "-nt --no-test"
32-
echo "Don't run tests."
26+
echo "-t --test"
27+
echo "Run tests."
3328
echo ""
3429
}
3530

@@ -41,7 +36,7 @@ DRY_RUN=
4136
BUNDLE_PREFIX=
4237
case $(uname -s) in
4338
Darwin)
44-
SWIFT_PACKAGE=buildbot_osx_package
39+
SWIFT_PACKAGE=buildbot_osx_package,no_test
4540
;;
4641
Linux)
4742
SWIFT_PACKAGE=buildbot_linux,no_test
@@ -63,15 +58,7 @@ while [ $# -ne 0 ]; do
6358
if [ "$(uname -s)" == "Linux" ]; then
6459
SWIFT_PACKAGE=buildbot_linux
6560
else
66-
echo "--test is not supported on \"$(uname -s)\". See --help"
67-
exit 1
68-
fi
69-
;;
70-
-nt|--no-test)
71-
if [ "$(uname -s)" == "Linux" ]; then
72-
SWIFT_PACKAGE=buildbot_linux,no_test
73-
else
74-
SWIFT_PACKAGE=buildbot_osx_package,no_test
61+
SWIFT_PACKAGE=buildbot_osx_package
7562
fi
7663
;;
7764
-h|--help)

0 commit comments

Comments
 (0)