File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ ; RUN: rm -rf %t
2
+ ; RUN: split-file %s %t
3
+ ; RUN: sed -e "s|DSTROOT|%/t|g" %t/input.json.in > %t/input.json
4
+
5
+ ; RUN: mkdir -p %t/System/Library/Frameworks
6
+ ; RUN: cp -r %S/Inputs/Simple/Simple.framework %t/System/Library/Frameworks/
7
+ ; RUN: yaml2obj %S/Inputs/Simple/Simple.yaml -o %t/Simple
8
+ ; RUN: mkdir -p %t/usr/include/after
9
+
10
+ ; RUN: clang-installapi -target x86_64-apple-macosx10.12 \
11
+ ; RUN: -install_name /System/Library/Frameworks/Simple.framework/Versions/A/Simple \
12
+ ; RUN: -current_version 1.2.3 -compatibility_version 1 -o %t/Simple.tbd \
13
+ ; RUN: -F %t/System/Library/Frameworks \
14
+ ; RUN: --verify-against=%t/Simple --verify-mode=ErrorsOnly \
15
+ ; RUN: %t/input.json -idirafter %t/usr/include/after -v 2>&1 | FileCheck %s
16
+
17
+ ; CHECK: "-idirafter" {{.*}}/usr/include/after"
18
+ ; CHECK: #include "..." search starts here:
19
+ ; CHECK: #include <...> search starts here:
20
+ ; CHECK: usr/include/after
21
+ ; CHECK-NEXT: End of search list.
22
+
23
+ ;--- input.json.in
24
+ {
25
+ "version" : "3",
26
+ "headers" : [
27
+ {
28
+ "type" : "public",
29
+ "path" : "DSTROOT/System/Library/Frameworks/Simple.framework/Headers/Basic.h"
30
+ }
31
+ ]
32
+ }
You can’t perform that action at this time.
0 commit comments