File tree Expand file tree Collapse file tree 3 files changed +3
-18
lines changed
test/Incremental/CrossModule Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: cp -r %S/Inputs/external-cascade/* %t
3
3
4
- // No reason to run these tests on the simulator hosts rdar://70772320
5
- // UNSUPPORTED: CPU=x86_64 && OS=ios
6
- // UNSUPPORTED: CPU=x86_64 && OS=tvos
7
- // UNSUPPORTED: CPU=x86_64 && OS=watchos
8
- // UNSUPPORTED: CPU=i386 && OS=watchos
9
-
10
4
//
11
5
// This test establishes a chain of modules that all depend on a set of
12
6
// bridging headers. This test ensures that changes to external dependencies -
32
26
33
27
// RUN: rm %t/another-header.h
34
28
// RUN: cp %S/Inputs/external-cascade/another-header.h %t/another-header.h
29
+ // RUN: touch %t/another-header.h
35
30
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/C.swiftmodule -enable-experimental-cross-module-incremental-build -module-name C -I %t -output-file-map %t/C.json -working-directory %t -import-objc-header %t/bridging-header.h -Xfrontend -validate-tbd-against-ir=none -driver-show-incremental -driver-show-job-lifecycle C.swift 2>&1 | %FileCheck -check-prefix MODULE-C %s
36
31
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/B.swiftmodule -enable-experimental-cross-module-incremental-build -module-name B -I %t -output-file-map %t/B.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle B.swift 2>&1 | %FileCheck -check-prefix MODULE-B %s
37
32
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/A.swiftmodule -enable-experimental-cross-module-incremental-build -module-name A -I %t -output-file-map %t/A.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle A.swift 2>&1 | %FileCheck -check-prefix MODULE-A %s
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: cp -r %S/Inputs/linear/* %t
3
3
4
- // No reason to run these tests on the simulator hosts rdar://70772320
5
- // UNSUPPORTED: CPU=x86_64 && OS=ios
6
- // UNSUPPORTED: CPU=x86_64 && OS=tvos
7
- // UNSUPPORTED: CPU=x86_64 && OS=watchos
8
- // UNSUPPORTED: CPU=i386 && OS=watchos
9
-
10
4
//
11
5
// This test establishes a "linear" chain of modules that import one another
12
6
// and ensures that a cross-module incremental build does not needlessly
31
25
//
32
26
33
27
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/C.swiftmodule -enable-experimental-cross-module-incremental-build -module-name C -I %t -output-file-map %t/C.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle -DNEW C.swift 2>&1 | %FileCheck -check-prefix MODULE-C %s
28
+ // RUN: touch %t/C.swiftmodule
34
29
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/B.swiftmodule -enable-experimental-cross-module-incremental-build -module-name B -I %t -output-file-map %t/B.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle B.swift 2>&1 | %FileCheck -check-prefix MODULE-B %s
35
30
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/A.swiftmodule -enable-experimental-cross-module-incremental-build -module-name A -I %t -output-file-map %t/A.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle A.swift 2>&1 | %FileCheck -check-prefix MODULE-A %s
36
31
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: cp -r %S/Inputs/transitive/* %t
3
3
4
- // No reason to run these tests on the simulator hosts rdar://70772320
5
- // UNSUPPORTED: CPU=x86_64 && OS=ios
6
- // UNSUPPORTED: CPU=x86_64 && OS=tvos
7
- // UNSUPPORTED: CPU=x86_64 && OS=watchos
8
- // UNSUPPORTED: CPU=i386 && OS=watchos
9
-
10
4
//
11
5
// This test establishes a "transitive" chain of modules that import one another
12
6
// and ensures that a cross-module incremental build rebuilds all modules
33
27
//
34
28
35
29
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/C.swiftmodule -enable-experimental-cross-module-incremental-build -module-name C -I %t -output-file-map %t/C.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle -DUSEC -DNEW C.swift 2>&1 | %FileCheck -check-prefix MODULE-C %s
30
+ // RUN: touch %t/C.swiftmodule
36
31
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/B.swiftmodule -enable-experimental-cross-module-incremental-build -module-name B -I %t -output-file-map %t/B.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle -DUSEC B.swift 2>&1 | %FileCheck -check-prefix MODULE-B %s
37
32
// RUN: cd %t && %target-swiftc_driver -c -incremental -emit-dependencies -emit-module -emit-module-path %t/A.swiftmodule -enable-experimental-cross-module-incremental-build -module-name A -I %t -output-file-map %t/A.json -working-directory %t -driver-show-incremental -driver-show-job-lifecycle -DUSEC A.swift 2>&1 | %FileCheck -check-prefix MODULE-A %s
38
33
You can’t perform that action at this time.
0 commit comments