diff options
| author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-04-10 01:50:25 +0000 |
|---|---|---|
| committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-04-10 01:50:25 +0000 |
| commit | 76a0154ce5cd60172ded3479bddfdf198b1dddf9 (patch) | |
| tree | 5a6b629f99f3e40d0430de1846910378ad868c89 /llvm/test/tools/llvm-ar | |
| parent | 19618fc639978ac15086ab7448e529d4e3fbb49f (diff) | |
| download | bcm5719-llvm-76a0154ce5cd60172ded3479bddfdf198b1dddf9.tar.gz bcm5719-llvm-76a0154ce5cd60172ded3479bddfdf198b1dddf9.zip | |
[llvm-ar] Fix lib.exe detection when running within MSVC toolchain
Differential Revision: https://reviews.llvm.org/D44808
llvm-svn: 329658
Diffstat (limited to 'llvm/test/tools/llvm-ar')
| -rw-r--r-- | llvm/test/tools/llvm-ar/case-detection.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-ar/case-detection.test b/llvm/test/tools/llvm-ar/case-detection.test new file mode 100644 index 00000000000..30f9c45e15f --- /dev/null +++ b/llvm/test/tools/llvm-ar/case-detection.test @@ -0,0 +1,11 @@ +-- Test CamelCase tool name to ensure detection works properly + +RUN: yaml2obj %S/Inputs/coff.yaml -o %t.obj +RUN: rm -rf %t1 +RUN: mkdir %t1 +RUN: cp llvm-ar %t1/Lib +RUN: %t1/Lib /OUT:%t.lib %t.obj | FileCheck %s -allow-empty +RUN: cp llvm-ar %t1/Ar +RUN: %t1/Ar crs %t.ar %t.obj | FileCheck %s -allow-empty + +CHECK-NOT: OVERVIEW: LLVM Archiver (llvm-ar) |

