2 ; RUN: split-file %s %t
3 ; RUN: sed -e "s|DSTROOT|%/t|g" %t/input.json.in > %t/input.json
5 ; RUN: mkdir -p %t/System/Library/Frameworks
6 ; RUN: cp -r %S/Inputs/Foundation/Foundation.framework %t/System/Library/Frameworks/
7 ; RUN: cp -r %S/Inputs/Simple/Simple.framework %t/System/Library/Frameworks/
8 ; RUN: yaml2obj %S/Inputs/Simple/Simple.yaml -o %t/Simple
9 ; RUN: mkdir -p %t/usr/include/after
11 ; RUN: clang-installapi -target x86_64-apple-macosx10.12 \
12 ; RUN: -install_name /System/Library/Frameworks/Simple.framework/Versions/A/Simple \
13 ; RUN: -current_version 1.2.3 -compatibility_version 1 -o %t/Simple.tbd \
14 ; RUN: -idirafter %t/usr/include/after \
15 ; RUN: -F %t/System/Library/Frameworks \
16 ; RUN: --verify-against=%t/Simple --verify-mode=ErrorsOnly \
17 ; RUN: %t/input.json -v 2>&1 | FileCheck %s
19 ; CHECK: "-idirafter" {{.*}}/usr/include/after"
20 ; CHECK: #include "..." search starts here:
21 ; CHECK: #include <...> search starts here:
22 ; CHECK: usr/include/after
23 ; CHECK-NEXT: End of search list.
31 "path" : "DSTROOT/System/Library/Frameworks/Simple.framework/Headers/Basic.h"