|
50 | 50 | // RUN: %target-swift-frontend -scan-dependencies -module-load-mode prefer-serialized -module-name MyApp -module-cache-path %t/clang-module-cache -O \
|
51 | 51 | // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \
|
52 | 52 | // RUN: %t/macro.swift -o %t/deps2.json -swift-version 5 -cache-compile-job -cas-path %t/cas -external-plugin-path %t/plugins#%swift-plugin-server \
|
53 |
| -// RUN: -scanner-prefix-map %t=/^test -scanner-prefix-map %swift-bin-dir=/^bin -resolved-plugin-verification |
| 53 | +// RUN: -scanner-prefix-map-paths %t /^test -scanner-prefix-map-paths %swift-bin-dir /^bin -resolved-plugin-verification |
54 | 54 |
|
55 | 55 | // RUN: %S/Inputs/SwiftDepsExtractor.py %t/deps2.json MyApp casFSRootID > %t/fs.casid
|
56 | 56 | // RUN: %cache-tool -cas-path %t/cas -cache-tool-action print-include-tree-list @%t/fs.casid | %FileCheck %s --check-prefix=FS-REMAP -DLIB=%target-library-name(MacroDefinition)
|
|
77 | 77 | // RUN: -swift-version 5 -disable-implicit-swift-modules -O \
|
78 | 78 | // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \
|
79 | 79 | // RUN: -module-name MyApp -explicit-swift-module-map-file @%t/map2.casid -Rmacro-loading -Rcache-compile-job \
|
80 |
| -// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test=%t -cache-replay-prefix-map /^bin=%swift-bin-dir 2>&1 | %FileCheck %s --check-prefix=REMARK |
| 80 | +// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test %t -cache-replay-prefix-map /^bin %swift-bin-dir 2>&1 | %FileCheck %s --check-prefix=REMARK |
81 | 81 | // REMAKR: remark: cache miss
|
82 | 82 | // REMARK: remark: loaded macro implementation module 'MacroDefinition' from compiler plugin server
|
83 | 83 |
|
|
92 | 92 | // RUN: -swift-version 5 -disable-implicit-swift-modules -O \
|
93 | 93 | // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \
|
94 | 94 | // RUN: -module-name MyApp -explicit-swift-module-map-file @%t/map2.casid -Rmacro-loading -Rcache-compile-job \
|
95 |
| -// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test=%t -cache-replay-prefix-map /^bin=%swift-bin-dir 2>&1 | %FileCheck %s --check-prefix=NO-REMARK |
| 95 | +// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test %t -cache-replay-prefix-map /^bin %swift-bin-dir 2>&1 | %FileCheck %s --check-prefix=NO-REMARK |
96 | 96 | // NO-REMARK: remark: replay output file
|
97 | 97 | // NO-REMARK-NOT: remark: loaded macro implementation module 'MacroDefinition' from compiler plugin server
|
98 | 98 |
|
|
103 | 103 | // RUN: -swift-version 5 -disable-implicit-swift-modules -O \
|
104 | 104 | // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \
|
105 | 105 | // RUN: -module-name MyApp -explicit-swift-module-map-file @%t/map2.casid -Rmacro-loading -Rcache-compile-job -cache-disable-replay \
|
106 |
| -// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test=%t -cache-replay-prefix-map /^bin=%swift-bin-dir |
| 106 | +// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test %t -cache-replay-prefix-map /^bin %swift-bin-dir |
107 | 107 |
|
108 | 108 | /// Change the dylib content, this will fail the build.
|
109 | 109 | // RUN: echo " " >> %t/plugins/%target-library-name(MacroDefinition)
|
|
112 | 112 | // RUN: -swift-version 5 -disable-implicit-swift-modules -O \
|
113 | 113 | // RUN: -disable-implicit-string-processing-module-import -disable-implicit-concurrency-module-import \
|
114 | 114 | // RUN: -module-name MyApp -explicit-swift-module-map-file @%t/map2.casid -Rmacro-loading -Rcache-compile-job -cache-disable-replay \
|
115 |
| -// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test=%t -cache-replay-prefix-map /^bin=%swift-bin-dir 2>&1 | %FileCheck %s --check-prefix=FAILED |
| 115 | +// RUN: /^test/macro.swift @%t/MyApp2.cmd -cache-replay-prefix-map /^test %t -cache-replay-prefix-map /^bin %swift-bin-dir 2>&1 | %FileCheck %s --check-prefix=FAILED |
116 | 116 | // FAILED: plugin has changed since dependency scanning
|
117 | 117 |
|
118 | 118 | //--- nomacro.swift
|
|
0 commit comments