-
Notifications
You must be signed in to change notification settings - Fork 0
/
swift-test-all
executable file
·32 lines (22 loc) · 2.85 KB
/
swift-test-all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# remove the existing builds.
rm -rf $PWD/build/
# run lots of tests before checking in.
echo "Running: #1"
$PWD/swift/utils/build-script --preset=ra
echo "Running: #2"
$PWD/swift/utils/build-script --preset=da
echo "Running: #3"
$PWD/swift/utils/build-script --ios-all --tvos-all --test --validation-test --build-subdir=buildbot_incremental --release --assertions -- --reconfigure --verbose-build=1 --build-ninja --build-swift-benchmarks=1 --build-swift-static-stdlib=0 --compiler-vendor=apple --skip-test-ios --skip-test-tvos
echo "Running: #4"
$PWD/swift/utils/build-script --ios-all --tvos-all --test --validation-test --build-subdir=buildbot_incremental_asan --release-debuginfo --assertions -- --reconfigure --verbose-build=1 --build-ninja --build-swift-benchmarks=1 --build-swift-static-stdlib=0 --compiler-vendor=apple --skip-build-ios --skip-test-ios --skip-build-tvos --skip-test-tvos --skip-build-watchos --skip-test-watchos --enable-asan
echo "Running: #5"
$PWD/swift/utils/build-script --release --assertions --build-subdir=buildbot_incremental_special_leaks -- --skip-ios --skip-tvos --skip-watchos --skip-test-osx --swift-stdlib-enable-assertions=false--reconfigure --verbose-build=1 --build-ninja --build-swift-benchmarks=1 --build-swift-static-stdlib=0 --compiler-vendor=apple --swift-runtime-enable-leak-checker=1 >> 4.log 2>&1
$PWD/build/buildbot_incremental_special_leaks/swift-macosx-x86_64/bin/PerfTests_RuntimeLeaksRunner >> 4.log 2>&1
$PWD/build/buildbot_incremental_special_leaks/swift-macosx-x86_64/bin/PerfTests_O >> 4.log 2>&1
$PWD/build/buildbot_incremental_special_leaks/swift-macosx-x86_64/bin/PerfTests_Onone >> 4.log 2>&1
$PWD/build/buildbot_incremental_special_leaks/swift-macosx-x86_64/bin/PerfTests_Ounchecked >> 4.log 2>&1
echo "Running: #6"
$PWD/swift/utils/build-script --ios-all --tvos-all --watchos-all --test --validation-test --release --assertions --test-optimized -- --verbose-build=1 --build-ninja --build-swift-benchmarks=1 --skip-test-tvos --skip-test-watchos '--swift-sdks=OSX;IOS;IOS_SIMULATOR;TVOS;TVOS_SIMULATOR;WATCHOS;WATCHOS_SIMULATOR' --build-swift-static-stdlib=1 --compiler-vendor=apple --darwin-crash-reporter-client=0 --swift-stdlib-build-type=RelWithDebInfo --swift-stdlib-enable-assertions=true --sil-verify-all --skip-test-ios-device --skip-test-tvos-device --skip-test-watchos-device
echo "Running: #7"
$PWD/swift/utils/build-script --ios-all --tvos-all --watchos-all --test --validation-test --release --assertions -- --verbose-build=1 --build-ninja --build-swift-benchmarks=1 --skip-test-tvos --skip-test-watchos '--swift-sdks=OSX;IOS;IOS_SIMULATOR;TVOS;TVOS_SIMULATOR;WATCHOS;WATCHOS_SIMULATOR' --build-swift-static-stdlib=1 --compiler-vendor=apple --darwin-crash-reporter-client=0 --swift-stdlib-build-type=Debug --swift-stdlib-enable-assertions=true --skip-test-ios-device --skip-test-tvos-device --skip-test-watchos-device