Skip to content

Commit

Permalink
Make test added in r231902 actually be executed.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
djasper-gh committed Mar 11, 2015
1 parent a5415bc commit 21d3c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/tools/llvm-cov/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions test/tools/llvm-cov/universal-binary.c
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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: *

0 comments on commit 21d3c12

Please sign in to comment.