mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
394896e64a
This will enable removing hacks throughout the codebase in clang and compiler-rt that feed multiple inputs to a testing utility by globbing, all of which are either disabled on Windows currently or using xargs / find hacks. Differential Revision: https://reviews.llvm.org/D30380 llvm-svn: 296904
29 lines
827 B
LLVM
29 lines
827 B
LLVM
RUN: echo TA > %T/TA.txt
|
|
RUN: echo TB > %T/TB.txt
|
|
RUN: echo TAB > %T/TAB.txt
|
|
|
|
RUN: echo %T/TA* | FileCheck -check-prefix=STAR %s
|
|
RUN: echo %T/'TA'* | FileCheck -check-prefix=STAR %s
|
|
RUN: echo %T/T'A'* | FileCheck -check-prefix=STAR %s
|
|
|
|
RUN: echo %T/T?.txt | FileCheck -check-prefix=QUESTION %s
|
|
RUN: echo %T/'T'?.txt | FileCheck -check-prefix=QUESTION %s
|
|
|
|
RUN: echo %T/T??.txt | FileCheck -check-prefix=QUESTION2 %s
|
|
RUN: echo %T/'T'??.txt | FileCheck -check-prefix=QUESTION2 %s
|
|
|
|
RUN: echo 'T*' 'T?.txt' 'T??.txt' | FileCheck -check-prefix=QUOTEDARGS %s
|
|
|
|
STAR-NOT: TB.txt
|
|
STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}}
|
|
|
|
QUESTION-NOT: TAB.txt
|
|
QUESTION: {{(TA.txt.*TB.txt|TB.txt.*TA.txt)}}
|
|
|
|
QUESTION2-NOT: TA.txt
|
|
QUESTION2-NOT: TB.txt
|
|
QUESTION2: TAB.txt
|
|
|
|
QUOTEDARGS-NOT: .txt
|
|
QUOTEDARGS: T* T?.txt T??.txt
|