OSDN Git Service

[llvm-ar] Temporarily make the tool case detection test Windows-only to fix the build...
[android-x86/external-llvm.git] / test / tools / llvm-ar / case-detection.test
1 -- Test CamelCase tool name to ensure detection works properly
2
3 REQUIRES: target-windows, system-windows
4 RUN: yaml2obj %S/Inputs/coff.yaml -o %t.obj
5 RUN: rm -rf %t1
6 RUN: mkdir %t1
7 RUN: cp llvm-ar %t1/Lib
8 RUN: %t1/Lib /OUT:%t.lib %t.obj | FileCheck %s -allow-empty
9 RUN: cp llvm-ar %t1/Ar
10 RUN: %t1/Ar crs %t.ar %t.obj | FileCheck %s -allow-empty
11
12 CHECK-NOT: OVERVIEW: LLVM Archiver (llvm-ar)