|
1 | 1 | // Must be able to run xcrun-return-self.sh |
2 | 2 | // REQUIRES: shell |
3 | 3 | // REQUIRES: rdar65281056 |
| 4 | +// FIXME: When this is turned on, please move the test from linker-library-with-space.swift |
| 5 | +// to this file and remove that file. |
4 | 6 | // RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt |
5 | 7 | // RUN: %FileCheck %s < %t.simple.txt |
6 | 8 | // RUN: %FileCheck -check-prefix SIMPLE %s < %t.simple.txt |
|
19 | 21 | // RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-unknown-linux-gnu -Ffoo -Fsystem car -F cdr -framework bar -Lbaz -lboo -Xlinker -undefined %s 2>&1 > %t.linux.txt |
20 | 22 | // RUN: %FileCheck -check-prefix LINUX-x86_64 %s < %t.linux.txt |
21 | 23 |
|
22 | | -// RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-unknown-linux-gnu -Ffoo -Fsystem car -F cdr -framework bar -Lbaz -l boo -Xlinker -undefined %s 2>&1 > %t.linux.txt |
23 | | -// RUN: %FileCheck -check-prefix LINUX-lib-flag-space %s < %t.linux.txt |
24 | | - |
25 | 24 | // RUN: %swiftc_driver -sdk "" -driver-print-jobs -target armv6-unknown-linux-gnueabihf -Ffoo -Fsystem car -F cdr -framework bar -Lbaz -lboo -Xlinker -undefined %s 2>&1 > %t.linux.txt |
26 | 25 | // RUN: %FileCheck -check-prefix LINUX-armv6 %s < %t.linux.txt |
27 | 26 |
|
|
220 | 219 | // LINUX-x86_64-DAG: -Xlinker -undefined |
221 | 220 | // LINUX-x86_64: -o linker |
222 | 221 |
|
223 | | -// LINUX-lib-flag-space: swift |
224 | | -// LINUX-lib-flag-space: -o [[OBJECTFILE:.*]] |
225 | | - |
226 | | -// LINUX-lib-flag-space: clang{{(\.exe)?"? }} |
227 | | -// LINUX-lib-flag-space-DAG: -pie |
228 | | -// LINUX-lib-flag-space-DAG: [[OBJECTFILE]] |
229 | | -// LINUX-lib-flag-space-DAG: -lswiftCore |
230 | | -// LINUX-lib-flag-space-DAG: -L [[STDLIB_PATH:[^ ]+(/|\\\\)lib(/|\\\\)swift(/|\\\\)]] |
231 | | -// LINUX-lib-flag-space-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]] |
232 | | -// LINUX-lib-flag-space-DAG: -F foo -iframework car -F cdr |
233 | | -// LINUX-lib-flag-space-DAG: -framework bar |
234 | | -// LINUX-lib-flag-space-DAG: -L baz |
235 | | -// LINUX-lib-flag-space-DAG: -lboo |
236 | | -// LINUX-lib-flag-space-DAG: -Xlinker -undefined |
237 | | -// LINUX-lib-flag-space: -o linker |
238 | | - |
239 | 222 | // LINUX-armv6: swift |
240 | 223 | // LINUX-armv6: -o [[OBJECTFILE:.*]] |
241 | 224 |
|
|
0 commit comments