xref: /llvm-project/llvm/test/tools/llvm-ranlib/tool-name.test (revision 0c8c05064d57fe3bbbb1edd4c6e67f909c720578)
1## Don't make symlinks on Windows.
2# UNSUPPORTED: system-windows
3
4# RUN: rm -rf %t
5# RUN: mkdir %t
6# RUN: ln -s llvm-ranlib %t/llvm-ranlib-9
7# RUN: ln -s llvm-ranlib %t/ranlib.exe
8
9# RUN: llvm-ranlib -h | FileCheck %s --check-prefix=DEFAULT
10# RUN: %t/llvm-ranlib-9 -h | FileCheck %s --check-prefix=VERSION
11# RUN: %t/ranlib.exe -h | FileCheck %s --check-prefix=SUFFIX
12
13# DEFAULT: USAGE: llvm-ranlib{{ }}
14# VERSION: USAGE: llvm-ranlib-9{{ }}
15# SUFFIX: USAGE: ranlib{{ }}
16