21 lines · plain
1## Don't make symlinks on Windows.2# UNSUPPORTED: system-windows3 4# RUN: rm -rf %t5# RUN: mkdir %t6# RUN: ln -s llvm-ar %t/llvm-ar-97# RUN: ln -s llvm-ar %t/ar.exe8# RUN: ln -s llvm-ar %t/arm-pokymllib32-linux-gnueabi-llvm-ar-99 10# RUN: llvm-ar h | FileCheck %s --check-prefix=DEFAULT11# RUN: %t/llvm-ar-9 h | FileCheck %s --check-prefix=VERSION12# RUN: %t/ar.exe h | FileCheck %s --check-prefix=SUFFIX13## Ensure that the "lib" substring does not result in misidentification as the14## llvm-lib tool.15# RUN: %t/arm-pokymllib32-linux-gnueabi-llvm-ar-9 h | FileCheck %s --check-prefix=ARM16 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{{ }}21