1 ## Don't make symlinks on Windows.
2 # UNSUPPORTED: system-windows
6 # RUN: ln -s llvm-ar %t/llvm-ar-9
7 # RUN: ln -s llvm-ar %t/ar.exe
8 # RUN: ln -s llvm-ar %t/arm-pokymllib32-linux-gnueabi-llvm-ar-9
10 # RUN: llvm-ar h | FileCheck %s --check-prefix=DEFAULT
11 # RUN: %t/llvm-ar-9 h | FileCheck %s --check-prefix=VERSION
12 # RUN: %t/ar.exe h | FileCheck %s --check-prefix=SUFFIX
13 ## Ensure that the "lib" substring does not result in misidentification as the
15 # RUN: %t/arm-pokymllib32-linux-gnueabi-llvm-ar-9 h | FileCheck %s --check-prefix=ARM
17 # DEFAULT: USAGE: llvm-ar{{ }}
18 # VERSION: USAGE: llvm-ar-9{{ }}
19 # SUFFIX: USAGE: ar{{ }}
20 # ARM: USAGE: arm-pokymllib32-linux-gnueabi-llvm-ar-9{{ }}