Make test added in r231902 actually be executed.

There were also errors in the CHECK line which I fixed and the test
doesn't actually pass as the "100" is in the wrong line. Not sure
whether this is a test failure or a coverage failure so making the test
XFAIL for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Jasper 2015-03-11 06:44:51 +00:00
parent a5415bcc57
commit 21d3c12750
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
config.suffixes = ['.test', '.m', '.cpp']
config.suffixes = ['.test', '.m', '.cpp', '.c']
# http://llvm.org/bugs/show_bug.cgi?id=20979
if 'ubsan' in config.available_features:

View File

@ -1,6 +1,6 @@
// The coverage reader should be able to handle universal binaries
//CHECK: 100| @[[LINE+1]]| int main
// CHECK: 100| [[@LINE+1]]| int main
int main(int argc, const char *argv[]) {}
// RUN: llvm-profdata merge %S/Inputs/universal-binary.proftext -o %t.profdata
@ -10,4 +10,4 @@ int main(int argc, const char *argv[]) {}
// WRONG-ARCH: Failed to load coverage
// llvm-cov doesn't work on big endian yet
// XFAIL: powerpc64-, s390x, mips-, mips64-, sparc
// XFAIL: *