Allow multiple check prefixes in FileCheck.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 10 Nov 2013 02:04:09 +0000 (02:04 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 10 Nov 2013 02:04:09 +0000 (02:04 +0000)
commitee4f5eae1c416eddbecbb2d742e2bb8dc0032bf6
tree8d041191ae9f058dffaa0a21b256a3233767f74f
parent432bdf65719c521206daaf90970505bea027c944
Allow multiple check prefixes in FileCheck.

This is useful if you want to run multiple variations
of a single test, and the majority of check lines
should be the same.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194343 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
docs/CommandGuide/FileCheck.rst
test/FileCheck/check-a-b-has-b.txt [new file with mode: 0644]
test/FileCheck/check-b-a-has-b.txt [new file with mode: 0644]
test/FileCheck/check-dag-multi-prefix-2.txt [new file with mode: 0644]
test/FileCheck/check-dag-multi-prefix.txt [new file with mode: 0644]
test/FileCheck/check-dag-substring-prefix.txt [new file with mode: 0644]
test/FileCheck/check-multi-prefix-label.txt [new file with mode: 0644]
test/FileCheck/check-multiple-prefixes-mixed.txt [new file with mode: 0644]
test/FileCheck/check-substring-multi-prefix-2.txt [new file with mode: 0644]
test/FileCheck/check-substring-multi-prefix.txt [new file with mode: 0644]
test/FileCheck/first-character-match.txt [new file with mode: 0644]
test/FileCheck/multiple-missing-prefixes.txt [new file with mode: 0644]
test/FileCheck/separate-multi-prefix.txt [new file with mode: 0644]
test/FileCheck/validate-check-prefix.txt
utils/FileCheck/FileCheck.cpp