diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-03-24 21:31:36 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-03-24 21:31:36 +0000 |
commit | fb911942f1434f3d1750f83f25f5e42c80e60638 (patch) | |
tree | 1678c4a4f0182e4029a86d135aa4a1b7d09e3c41 /test/mach-o/framework-user-paths.yaml |
Notes
Diffstat (limited to 'test/mach-o/framework-user-paths.yaml')
-rw-r--r-- | test/mach-o/framework-user-paths.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/mach-o/framework-user-paths.yaml b/test/mach-o/framework-user-paths.yaml new file mode 100644 index 0000000000000..f6ac64779a717 --- /dev/null +++ b/test/mach-o/framework-user-paths.yaml @@ -0,0 +1,41 @@ +# +# Test framework and SDK search paths. +# myFrameworks is not an absolute path, so it should not by found in SDK +# /Custom/Frameworks should be found in SDK +# /opt/Frameworks should not be found in SDK +# /System/Library/Frameworks is implicit and should be in SDK +# +# RUN: lld -flavor darwin -arch x86_64 -r -test_file_usage -v \ +# RUN: -path_exists myFrameworks \ +# RUN: -path_exists myFrameworks/my.framework/my \ +# RUN: -path_exists /opt/Frameworks \ +# RUN: -path_exists /opt/Frameworks/other.framework/other \ +# RUN: -path_exists /Custom/Frameworks \ +# RUN: -path_exists /Custom/Frameworks/Bar.framework/Bar \ +# RUN: -path_exists /System/Library/Frameworks \ +# RUN: -path_exists /System/Library/Frameworks/Foo.framework/Foo \ +# RUN: -path_exists /SDK/myFrameworks \ +# RUN: -path_exists /SDK/myFrameworks/my.framework/my \ +# RUN: -path_exists /SDK/Custom/Frameworks \ +# RUN: -path_exists /SDK/Custom/Frameworks/Bar.framework/Bar \ +# RUN: -path_exists /SDK/System/Library/Frameworks \ +# RUN: -path_exists /SDK/System/Library/Frameworks/Foo.framework/Foo \ +# RUN: -syslibroot /SDK \ +# RUN: -FmyFrameworks \ +# RUN: -F/Custom/Frameworks \ +# RUN: -F/opt/Frameworks \ +# RUN: -framework my \ +# RUN: -framework Bar \ +# RUN: -framework Foo \ +# RUN: -framework other \ +# RUN: 2>&1 | FileCheck %s + +# CHECK: Framework search paths: +# CHECK-NEXT: myFrameworks +# CHECK-NEXT: /SDK/Custom/Frameworks +# CHECK-NEXT: /opt/Frameworks +# CHECK-NEXT: /SDK/System/Library/Frameworks +# CHECK: Found framework myFrameworks/my.framework/my +# CHECK: Found framework /SDK/Custom/Frameworks/Bar.framework/Bar +# CHECK: Found framework /SDK/System/Library/Frameworks/Foo.framework/Foo +# CHECK: Found framework /opt/Frameworks/other.framework/other |