[llvm] r231908 - Make test added in r231902 actually be executed.

Daniel Jasper djasper at google.com
Tue Mar 10 23:44:51 PDT 2015


Author: djasper
Date: Wed Mar 11 01:44:51 2015
New Revision: 231908

URL: http://llvm.org/viewvc/llvm-project?rev=231908&view=rev
Log:
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.

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

Modified: llvm/trunk/test/tools/llvm-cov/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/lit.local.cfg?rev=231908&r1=231907&r2=231908&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/lit.local.cfg (original)
+++ llvm/trunk/test/tools/llvm-cov/lit.local.cfg Wed Mar 11 01:44:51 2015
@@ -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:

Modified: llvm/trunk/test/tools/llvm-cov/universal-binary.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/universal-binary.c?rev=231908&r1=231907&r2=231908&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/universal-binary.c (original)
+++ llvm/trunk/test/tools/llvm-cov/universal-binary.c Wed Mar 11 01:44:51 2015
@@ -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: *





More information about the llvm-commits mailing list