From: Daniel Jasper Date: Wed, 11 Mar 2015 06:44:51 +0000 (+0000) Subject: Make test added in r231902 actually be executed. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=21d3c127501986428edd1d388311eb8ea80a60cc 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 --- diff --git a/test/tools/llvm-cov/lit.local.cfg b/test/tools/llvm-cov/lit.local.cfg index 650bc02747b..5510deda06c 100644 --- a/test/tools/llvm-cov/lit.local.cfg +++ b/test/tools/llvm-cov/lit.local.cfg @@ -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: diff --git a/test/tools/llvm-cov/universal-binary.c b/test/tools/llvm-cov/universal-binary.c index 7fe2fe86243..e85112636d1 100644 --- a/test/tools/llvm-cov/universal-binary.c +++ b/test/tools/llvm-cov/universal-binary.c @@ -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: *