Skip to content

Commit b8c581b

Browse files
authored
Merge pull request #11705 from amraboelela/buildbot_linux-no_test
In Linux setting SWIFT_PACKAGE=buildbot_linux,no_test as the test tak…
2 parents 196fe68 + 3550787 commit b8c581b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

utils/build-toolchain

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cd "$(dirname $0)/.." || exit
1414
SRC_DIR=$PWD
1515

1616
DRY_RUN=
17-
if [[ "$1" == "-n" || "$1" == "--dry-run" ]] ; then
17+
if [[ "$2" == "-n" || "$2" == "--dry-run" ]] ; then
1818
DRY_RUN="-n"
1919
shift
2020
fi
@@ -40,7 +40,11 @@ SYMBOLS_PACKAGE="${SRC_DIR}/${SYM_ARCHIVE}"
4040
if [[ "$(uname -s)" == "Darwin" ]] ; then
4141
SWIFT_PACKAGE=buildbot_osx_package
4242
else
43-
SWIFT_PACKAGE=buildbot_linux
43+
if [[ "$2" == "-t" || "$2" == "--test" ]] ; then
44+
SWIFT_PACKAGE=buildbot_linux
45+
else
46+
SWIFT_PACKAGE=buildbot_linux,no_test
47+
fi
4448
fi
4549

4650
./utils/build-script ${DRY_RUN} --preset="${SWIFT_PACKAGE}" \

0 commit comments

Comments
 (0)