summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-03-11 06:44:51 +0000
committerDaniel Jasper <djasper@google.com>2015-03-11 06:44:51 +0000
commit92e701b16f42c89b4a43319469b53b5518861f7d (patch)
tree436f1767a6c12fc6f0fd398c8f8a6dc3b0ee4085 /llvm/test/tools
parenta61e212a43a49779a358a45d0f0d6c580ffde138 (diff)
downloadbcm5719-llvm-92e701b16f42c89b4a43319469b53b5518861f7d.tar.gz
bcm5719-llvm-92e701b16f42c89b4a43319469b53b5518861f7d.zip
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. llvm-svn: 231908
Diffstat (limited to 'llvm/test/tools')
-rw-r--r--llvm/test/tools/llvm-cov/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-cov/universal-binary.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-cov/lit.local.cfg b/llvm/test/tools/llvm-cov/lit.local.cfg
index 650bc02747b..5510deda06c 100644
--- a/llvm/test/tools/llvm-cov/lit.local.cfg
+++ b/llvm/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/llvm/test/tools/llvm-cov/universal-binary.c b/llvm/test/tools/llvm-cov/universal-binary.c
index 7fe2fe86243..e85112636d1 100644
--- a/llvm/test/tools/llvm-cov/universal-binary.c
+++ b/llvm/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: *
OpenPOWER on IntegriCloud