diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-10 02:04:09 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-10 02:04:09 +0000 |
commit | 13df462691745d7f99c6ba0b0c26dc95eda16b73 (patch) | |
tree | b69a2181eea4cc0a4bc9d997ad0b6b972e4f9cab /llvm/test/FileCheck/check-substring-multi-prefix.txt | |
parent | 5bcefabcda5ef0e9b8b355a40875b2a83d302b5d (diff) | |
download | bcm5719-llvm-13df462691745d7f99c6ba0b0c26dc95eda16b73.tar.gz bcm5719-llvm-13df462691745d7f99c6ba0b0c26dc95eda16b73.zip |
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.
llvm-svn: 194343
Diffstat (limited to 'llvm/test/FileCheck/check-substring-multi-prefix.txt')
-rw-r--r-- | llvm/test/FileCheck/check-substring-multi-prefix.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/FileCheck/check-substring-multi-prefix.txt b/llvm/test/FileCheck/check-substring-multi-prefix.txt new file mode 100644 index 00000000000..b7edb8b530e --- /dev/null +++ b/llvm/test/FileCheck/check-substring-multi-prefix.txt @@ -0,0 +1,9 @@ +// RUN: FileCheck -check-prefix=AAAOVERLAP -check-prefix=OVERLAP -input-file %s %s + +foo +bar +buzz + +OVERLAP: foo +AAAOVERLAP: bar +OVERLAP: buzz |