#
# Test -dependency_info option
#
# RUN: lld -flavor darwin -arch x86_64 -test_file_usage  \
# RUN:        -dependency_info %t.info \
# RUN:        -path_exists /System/Library/Frameworks \
# RUN:        -path_exists /System/Library/Frameworks/Foo.framework/Foo \
# RUN:        -path_exists /Custom/Frameworks \
# RUN:        -path_exists /Custom/Frameworks/Bar.framework/Bar \
# RUN:        -F/Custom/Frameworks \
# RUN:        -framework Bar \
# RUN:        -framework Foo
# RUN: python %p/Inputs/DependencyDump.py %t.info | FileCheck %s


# CHECK: linker-vers: lld
# CHECK: input-file:  /Custom/Frameworks/Bar.framework/Bar
# CHECK: not-found:   /Custom/Frameworks/Foo.framework/Foo
# CHECK: input-file:  /System/Library/Frameworks/Foo.framework/Foo
# CHECK: output-file: a.out


# XFAIL: win32
# This test fails on Windows because the linker would use '\' instead
# of '/' as a path separator when concatenating path components.
# So the output from the linker would be different.

# Test -dependency_info option
#
# RUN: lld -flavor darwin -arch x86_64 -test_file_usage  \
# RUN:        -dependency_info %t.info \
# RUN:        -path_exists /System/Library/Frameworks \
# RUN:        -path_exists /System/Library/Frameworks/Foo.framework/Foo \
# RUN:        -path_exists /Custom/Frameworks \
# RUN:        -path_exists /Custom/Frameworks/Bar.framework/Bar \
# RUN:        -F/Custom/Frameworks \
# RUN:        -framework Bar \
# RUN:        -framework Foo
# RUN: python %p/Inputs/DependencyDump.py %t.info | FileCheck %s


# CHECK: linker-vers: lld
# CHECK: input-file:  /Custom/Frameworks/Bar.framework/Bar
# CHECK: not-found:   /Custom/Frameworks/Foo.framework/Foo
# CHECK: input-file:  /System/Library/Frameworks/Foo.framework/Foo
# CHECK: output-file: a.out

Disable a Mach-O test on Windows that depends on Unix path separator.
Disable a Mach-O test on Windows that depends on Unix path separator.

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@221506 91177308-0d34-0410-b5e6-96231b3b80d8
