Make test added in r231902 actually be executed.
authorDaniel Jasper <djasper@google.com>
Wed, 11 Mar 2015 06:44:51 +0000 (06:44 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 11 Mar 2015 06:44:51 +0000 (06:44 +0000)
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

test/tools/llvm-cov/lit.local.cfg
test/tools/llvm-cov/universal-binary.c

index 650bc02747b50590cecd5c33fcdaba76d64c895e..5510deda06ca6a67b08f931ad5dadb88b10907a3 100644 (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:
index 7fe2fe862435c63192e28d527179786e613a741b..e85112636d1fca2b78fc48fe37cd3038f892ab89 100644 (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: *