Skip to content

Commit 2e803ec

Browse files
committed
[lld/mac on non-mac] fix test/MachO/search-paths.test after ab45289
1 parent 5a451a4 commit 2e803ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lld/test/MachO/search-paths.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ UNSUPPORTED: darwin
22

33
RUN: mkdir -p %t1 %t2
44

5-
RUN: %lld -v -L%t1 -F%t2 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
5+
RUN: %lld -v -dylib -o /dev/null -L%t1 -F%t2 2>&1 \
6+
RUN: | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
67
CHECK: Library search paths:
78
CHECK-NEXT: [[LDIR]]
89
CHECK-NEXT: /usr/lib
910
CHECK-NEXT: Framework search paths:
1011
CHECK-NEXT: [[FDIR]]
1112
CHECK-NEXT: /System/Library/Frameworks
1213

13-
RUN: %lld -v -L%t1 -F%t2 -Z 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
14+
RUN: %lld -v -dylib -o /dev/null -L%t1 -F%t2 -Z 2>&1 \
15+
RUN: | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
1416
CHECK_Z: Library search paths:
1517
CHECK_Z-NEXT: [[LDIR]]
1618
CHECK_Z-NEXT: Framework search paths:

0 commit comments

Comments
 (0)