Skip to content

Commit cd7a30b

Browse files
Address Test review comments
1 parent 48de17d commit cd7a30b

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

test/Driver/linker.swift

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Must be able to run xcrun-return-self.sh
22
// REQUIRES: shell
33
// 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.
46
// RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt
57
// RUN: %FileCheck %s < %t.simple.txt
68
// RUN: %FileCheck -check-prefix SIMPLE %s < %t.simple.txt
@@ -19,9 +21,6 @@
1921
// 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
2022
// RUN: %FileCheck -check-prefix LINUX-x86_64 %s < %t.linux.txt
2123

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-
2524
// 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
2625
// RUN: %FileCheck -check-prefix LINUX-armv6 %s < %t.linux.txt
2726

@@ -220,22 +219,6 @@
220219
// LINUX-x86_64-DAG: -Xlinker -undefined
221220
// LINUX-x86_64: -o linker
222221

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-
239222
// LINUX-armv6: swift
240223
// LINUX-armv6: -o [[OBJECTFILE:.*]]
241224

0 commit comments

Comments
 (0)