|
3 | 3 |
|
4 | 4 | // Verify that symbolic interfaces are emitted.
|
5 | 5 | //
|
6 |
| -// RUN: %target-swift-frontend %t/test.swift -I %t -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>%t/remarks |
| 6 | +// RUN: %target-swift-frontend %t/test.swift -I %t/Inputs -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>%t/remarks |
7 | 7 | // RUN: echo "EOF" >> %t/remarks
|
8 | 8 | // RUN: cat %t/remarks | %FileCheck --check-prefixes=REMARK_NEW,REMARK_INITIAL %s
|
9 | 9 | // RUN: ls %t/store/interfaces | %FileCheck --check-prefix=FILES %s
|
10 | 10 | // RUN: cat %t/store/interfaces/CxxModule* | %FileCheck --check-prefix=CHECK %s
|
11 | 11 |
|
12 | 12 | // Verify that symbolic interfaces are not emitted when PCM doesn't change.
|
13 | 13 | //
|
14 |
| -// RUN: %target-swift-frontend %t/test.swift -I %t -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck --check-prefix=REMARK_NO_UPDATE %s |
| 14 | +// RUN: %target-swift-frontend %t/test.swift -I %t/Inputs -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck --check-prefix=REMARK_NO_UPDATE %s |
15 | 15 | // RUN: ls %t/store/interfaces | %FileCheck --check-prefix=FILES %s
|
16 | 16 | // RUN: cat %t/store/interfaces/CxxModule* | %FileCheck --check-prefix=CHECK %s
|
17 | 17 |
|
18 | 18 | // Verify that symbolic interface is re-emitted when the interface is removed.
|
19 | 19 | //
|
20 | 20 | // RUN: rm -r %t/store/interfaces
|
21 |
| -// RUN: %target-swift-frontend %t/test.swift -I %t -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck --check-prefix=REMARK_NEW %s |
| 21 | +// RUN: %target-swift-frontend %t/test.swift -I %t/Inputs -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck --check-prefix=REMARK_NEW %s |
22 | 22 | // RUN: ls %t/store/interfaces | %FileCheck --check-prefix=FILES %s
|
23 | 23 | // RUN: cat %t/store/interfaces/CxxModule* | %FileCheck --check-prefixes=CHECK %s
|
24 | 24 |
|
25 | 25 | // Verify that symbolic interface is re-emitted when PCM changes.
|
26 | 26 | //
|
27 | 27 | // RUN: echo "using AdditionalAlias = int;" >> %t/Inputs/headerA.h
|
28 |
| -// RUN: %target-swift-frontend %t/test.swift -I %t -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck --check-prefix=REMARK_NEW %s |
| 28 | +// RUN: %target-swift-frontend %t/test.swift -I %t/Inputs -c -index-system-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck --check-prefix=REMARK_NEW %s |
29 | 29 | // RUN: ls %t/store/interfaces | %FileCheck --check-prefix=FILES %s
|
30 | 30 | // RUN: cat %t/store/interfaces/CxxModule* | %FileCheck --check-prefixes=CHECK,CHECK-UPDATED %s
|
31 | 31 |
|
|
0 commit comments