@@ -83,7 +83,6 @@ KNOWN_SETTINGS=(
83
83
xctest-build-type " Debug" " the build variant for xctest"
84
84
swiftpm-build-type " Debug" " the build variant for swiftpm"
85
85
swiftsyntax-build-type " Debug" " the build variant for swiftSyntax"
86
- skstresstester-build-type " Debug" " the build variant for the SourceKit stress tester"
87
86
llbuild-enable-assertions " 1" " enable assertions in llbuild"
88
87
enable-asan " " " enable Address Sanitizer"
89
88
enable-ubsan " " " enable Undefined Behavior Sanitizer"
@@ -125,7 +124,6 @@ KNOWN_SETTINGS=(
125
124
skip-build-llbuild " " " set to skip building llbuild"
126
125
skip-build-swiftpm " " " set to skip building swiftpm"
127
126
skip-build-swiftsyntax " " " set to skip building swiftSyntax"
128
- skip-build-skstresstester " " " set to skip building the SourceKit stress tester"
129
127
skip-build-xctest " " " set to skip building xctest"
130
128
skip-build-foundation " " " set to skip building foundation"
131
129
skip-build-libdispatch " " " set to skip building libdispatch"
@@ -139,7 +137,6 @@ KNOWN_SETTINGS=(
139
137
skip-test-llbuild " " " set to skip testing llbuild"
140
138
skip-test-swiftpm " " " set to skip testing swiftpm"
141
139
skip-test-swiftsyntax " " " set to skip testing swiftSyntax"
142
- skip-test-skstresstester " " " set to skip testing the SourceKit stress tester"
143
140
skip-test-xctest " " " set to skip testing xctest"
144
141
skip-test-foundation " " " set to skip testing foundation"
145
142
skip-test-libdispatch " " " set to skip testing libdispatch"
@@ -196,7 +193,6 @@ KNOWN_SETTINGS=(
196
193
install-swiftpm " " " whether to install swiftpm"
197
194
install-swiftsyntax " " " whether to install swiftsyntax"
198
195
skip-install-swiftsyntax-module " " " set to skip installing swiftsyntax modules"
199
- install-skstresstester " " " whether to install the SourceKit stress tester"
200
196
install-xctest " " " whether to install xctest"
201
197
install-foundation " " " whether to install foundation"
202
198
install-libdispatch " " " whether to install libdispatch"
@@ -1175,7 +1171,6 @@ LLDB_SOURCE_DIR="${WORKSPACE}/lldb"
1175
1171
LLBUILD_SOURCE_DIR=" ${WORKSPACE} /llbuild"
1176
1172
SWIFTPM_SOURCE_DIR=" ${WORKSPACE} /swiftpm"
1177
1173
SWIFTSYNTAX_SOURCE_DIR=" ${WORKSPACE} /swift-syntax"
1178
- SKSTRESSTESTER_SOURCE_DIR=" ${WORKSPACE} /swift-stress-tester/SourceKitStressTester"
1179
1174
XCTEST_SOURCE_DIR=" ${WORKSPACE} /swift-corelibs-xctest"
1180
1175
FOUNDATION_SOURCE_DIR=" ${WORKSPACE} /swift-corelibs-foundation"
1181
1176
LIBDISPATCH_SOURCE_DIR=" ${WORKSPACE} /swift-corelibs-libdispatch"
@@ -1216,9 +1211,8 @@ PRODUCTS=("${PRODUCTS[@]}" swift)
1216
1211
if [[ ! " ${SKIP_BUILD_LLDB} " ]] ; then
1217
1212
PRODUCTS=(" ${PRODUCTS[@]} " lldb)
1218
1213
fi
1219
- # LLBuild, SwiftPM, SwiftSyntax, the SourceKit stress tester and XCTest are
1220
- # dependent on Foundation, so Foundation must be added to the list of build
1221
- # products first.
1214
+ # LLBuild, SwiftPM, SwiftSyntax and XCTest are dependent on Foundation, so Foundation must be
1215
+ # added to the list of build products first.
1222
1216
if [[ ! " ${SKIP_BUILD_LIBDISPATCH} " ]] ; then
1223
1217
PRODUCTS=(" ${PRODUCTS[@]} " libdispatch)
1224
1218
fi
@@ -1231,24 +1225,19 @@ fi
1231
1225
if [[ ! " ${SKIP_BUILD_PLAYGROUNDSUPPORT} " ]] ; then
1232
1226
PRODUCTS=(" ${PRODUCTS[@]} " playgroundsupport)
1233
1227
fi
1234
- # SwiftPM, SwiftSyntax and the SourceKit stress tester are dependent on XCTest,
1235
- # so XCTest must be added to the list of build products first.
1228
+ # SwiftPM and SwiftSyntax are dependent on XCTest, so XCTest must be added to the list of
1229
+ # build products first.
1236
1230
if [[ ! " ${SKIP_BUILD_XCTEST} " ]] ; then
1237
1231
PRODUCTS=(" ${PRODUCTS[@]} " xctest)
1238
1232
fi
1239
- # SwiftSyntax and the SourceKit stress tester are dependent on SwiftPM, so
1240
- # SwiftPM must be added to the list of build products first.
1233
+ # SwiftSyntax is dependent on SwiftPM, so SwiftPM must be added to the list of
1234
+ # build products first.
1241
1235
if [[ ! " ${SKIP_BUILD_SWIFTPM} " ]] ; then
1242
1236
PRODUCTS=(" ${PRODUCTS[@]} " swiftpm)
1243
1237
fi
1244
- # The SourceKit stress tester is dependent on SwiftSyntax, so it must be added
1245
- # to the list of build products first.
1246
1238
if [[ ! " ${SKIP_BUILD_SWIFTSYNTAX} " ]] ; then
1247
1239
PRODUCTS=(" ${PRODUCTS[@]} " swiftsyntax)
1248
1240
fi
1249
- if [[ ! " ${SKIP_BUILD_SKSTRESSTESTER} " ]] ; then
1250
- PRODUCTS=(" ${PRODUCTS[@]} " skstresstester)
1251
- fi
1252
1241
1253
1242
# Checks if a given product is enabled (i.e. part of $PRODUCTS array)
1254
1243
function contains_product() {
@@ -1559,9 +1548,6 @@ function build_directory_bin() {
1559
1548
swiftsyntax)
1560
1549
echo " ${root} /${SWIFTSYNTAX_BUILD_TYPE} /bin"
1561
1550
;;
1562
- skstresstester)
1563
- echo " ${root} /${SKSTRESSTESTER_BUILD_TYPE} /bin"
1564
- ;;
1565
1551
xctest)
1566
1552
echo " ${root} /${XCTEST_BUILD_TYPE} /bin"
1567
1553
;;
@@ -1701,9 +1687,6 @@ function cmake_config_opt() {
1701
1687
swiftsyntax)
1702
1688
echo " --config ${SWIFTSYNTAX_BUILD_TYPE} "
1703
1689
;;
1704
- skstresstester)
1705
- echo " --config ${SKSTRESSTESTER_BUILD_TYPE} "
1706
- ;;
1707
1690
xctest)
1708
1691
echo " --config ${XCTEST_BUILD_TYPE} "
1709
1692
;;
@@ -1813,36 +1796,6 @@ function set_swiftsyntax_build_command() {
1813
1796
--filecheck-exec=" $( build_directory_bin ${LOCAL_HOST} llvm) /FileCheck" )
1814
1797
}
1815
1798
1816
- function set_skstresstester_build_command() {
1817
- if [ " ${SKIP_BUILD_SWIFTSYNTAX} " ]; then
1818
- echo " Error: Cannot build the SourceKit stress tester without SwiftSyntax."
1819
- exit 1
1820
- fi
1821
-
1822
- local swiftsyntax_config=" debug"
1823
- if [[ $( is_cmake_release_build_type " ${SWIFTSYNTAX_BUILD_TYPE} " ) ]] ; then
1824
- swiftsyntax_config=" release"
1825
- fi
1826
- local config=" debug"
1827
- if [[ $( is_cmake_release_build_type " ${SKSTRESSTESTER_BUILD_TYPE} " ) ]] ; then
1828
- config=" release"
1829
- fi
1830
-
1831
- skstresstester_build_command=(" ${SKSTRESSTESTER_SOURCE_DIR} /Utilities/build-script-helper.py" )
1832
- if [[ " ${VERBOSE_BUILD} " ]] ; then
1833
- skstresstester_build_command+=(-v)
1834
- fi
1835
-
1836
- skstresstester_build_command+=(
1837
- --build-dir=" ${build_dir} "
1838
- --swiftc-exec=" $( build_directory_bin ${LOCAL_HOST} swift) /swiftc"
1839
- --swift-build-exec=" ${SWIFT_BUILD} "
1840
- --swift-test-exec=" ${SWIFT_TEST} "
1841
- --sourcekitd-dir=" $( build_directory ${host} swift) /lib"
1842
- --swiftsyntax-dir=" $( build_directory ${host} swiftsyntax) /${swiftsyntax_config} "
1843
- --config=" ${config} " )
1844
- }
1845
-
1846
1799
# Construct the appropriate options to pass to an Xcode
1847
1800
# build of any LLDB target.
1848
1801
function set_lldb_xcodebuild_options() {
@@ -2521,16 +2474,6 @@ for host in "${ALL_HOSTS[@]}"; do
2521
2474
set_swiftsyntax_build_command
2522
2475
call " ${swiftsyntax_build_command[@]} "
2523
2476
2524
- continue
2525
- ;;
2526
- skstresstester)
2527
- if [[ " $( uname -s) " != " Darwin" ]]; then
2528
- echo " error: unable to build swift-stress-tester on this platform"
2529
- continue
2530
- fi
2531
- set_skstresstester_build_command
2532
- call " ${skstresstester_build_command[@]} "
2533
-
2534
2477
continue
2535
2478
;;
2536
2479
xctest)
@@ -3145,14 +3088,6 @@ for host in "${ALL_HOSTS[@]}"; do
3145
3088
# As swiftSyntax tests itself, we break early here.
3146
3089
continue
3147
3090
;;
3148
- skstresstester)
3149
- if [[ " ${SKIP_TEST_SKSTRESSTESTER} " ]]; then
3150
- continue
3151
- fi
3152
- echo " --- Running tests for ${product} ---"
3153
- call " ${skstresstester_build_command[@]} " test
3154
- continue
3155
- ;;
3156
3091
xctest)
3157
3092
if [[ " ${SKIP_TEST_XCTEST} " ]]; then
3158
3093
continue
@@ -3466,23 +3401,6 @@ for host in "${ALL_HOSTS[@]}"; do
3466
3401
call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --install
3467
3402
fi
3468
3403
3469
- continue
3470
- ;;
3471
- skstresstester)
3472
- if [[ -z " ${INSTALL_SKSTRESSTESTER} " ]] ; then
3473
- continue
3474
- fi
3475
- if [[ -z " ${INSTALL_DESTDIR} " ]] ; then
3476
- echo " --install-destdir is required to install products."
3477
- exit 1
3478
- fi
3479
- if [[ -z " ${INSTALL_SWIFTSYNTAX} " ]] ; then
3480
- echo " --install-swiftsyntax is required to install the SourceKit stress tester"
3481
- exit 1
3482
- fi
3483
-
3484
- echo " --- Installing ${product} ---"
3485
- call " ${skstresstester_build_command[@]} " --prefix=" ${host_install_destdir}${host_install_prefix} " install
3486
3404
continue
3487
3405
;;
3488
3406
xctest)
0 commit comments