Skip to content

Commit e77e43f

Browse files
committed
[utils/buildbot-script.sh] Another fix for running of SourceKit tests; SwiftUnitTests target does not exist.
Swift SVN r14202
1 parent 44d35e0 commit e77e43f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/buildbot-script.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,9 @@ for product in "${SWIFT_TEST_PRODUCTS[@]}" ; do
480480

481481
build_cmd=("$CMAKE" --build "${!_PRODUCT_BUILD_DIR}" -- ${BUILD_ARGS})
482482

483-
"${build_cmd[@]}" ${BUILD_TARGET_FLAG} SwiftUnitTests
483+
if [[ "${product}" != SourceKit ]] ; then
484+
"${build_cmd[@]}" ${BUILD_TARGET_FLAG} SwiftUnitTests
485+
fi
484486

485487
if [[ "${CMAKE_GENERATOR}" == Ninja ]] ; then
486488
# Ninja buffers command output to avoid scrambling the output

0 commit comments

Comments
 (0)