-
Notifications
You must be signed in to change notification settings - Fork 10.4k
/
Copy pathskip_clean_corelibs.test
28 lines (25 loc) · 1.35 KB
/
skip_clean_corelibs.test
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
# REQUIRES: standalone_build
# UNSUPPORTED: OS=macosx
# UNSUPPORTED: OS=ios
# UNSUPPORTED: OS=tvos
# UNSUPPORTED: OS=watchos
# UNSUPPORTED: OS=xros
#
# RUN: %empty-directory(%t)
# RUN: mkdir -p %t
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --xctest --cmake %cmake 2>&1 | %FileCheck --check-prefix=CLEAN-CORELIBS-CHECK %s
# RUN: %empty-directory(%t)
# RUN: mkdir -p %t
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --xctest --skip-clean-libdispatch --skip-clean-foundation --skip-clean-xctest --cmake %cmake 2>&1 | %FileCheck --check-prefix=SKIP-CLEAN-CORELIBS-CHECK %s
# CLEAN-CORELIBS-CHECK: Cleaning the libdispatch build directory
# CLEAN-CORELIBS-CHECK-NEXT: rm -rf
# CLEAN-CORELIBS-CHECK: Cleaning the Foundation build directory
# CLEAN-CORELIBS-CHECK-NEXT: rm -rf
# CLEAN-CORELIBS-CHECK: Cleaning the XCTest build directory
# CLEAN-CORELIBS-CHECK-NEXT: rm -rf
# SKIP-CLEAN-CORELIBS-CHECK-NOT: Cleaning the libdispatch build directory
# SKIP-CLEAN-CORELIBS-CHECK-NOT: rm -rf {{.*/libdispatch-[^/]*}}
# SKIP-CLEAN-CORELIBS-CHECK-NOT: Cleaning the Foundation build directory
# SKIP-CLEAN-CORELIBS-CHECK-NOT: rm -rf {{.*/foundation-[^/]*}}
# SKIP-CLEAN-CORELIBS-CHECK-NOT: Cleaning the XCTest build directory
# SKIP-CLEAN-CORELIBS-CHECK-NOT: rm -rf {{.*/xctest-[^/]*}}