summaryrefslogtreecommitdiff
path: root/test/Other
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2013-07-01 18:58:53 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2013-07-01 18:58:53 +0000
commit1a84066b8c6e57d43309edc8cad2ca32acfbf836 (patch)
treedc1a435344adfc76eae0ac18296cf7736b1de14b /test/Other
parent40d0492cdea1023463a9902ee81b3c5251204039 (diff)
downloadllvm-1a84066b8c6e57d43309edc8cad2ca32acfbf836.tar.gz
llvm-1a84066b8c6e57d43309edc8cad2ca32acfbf836.tar.bz2
llvm-1a84066b8c6e57d43309edc8cad2ca32acfbf836.tar.xz
(1) Add ".test" to test/Other/lit.local.cfg, so llvm-cov.test is actually run.
(2) Rename llvm-cov test inputs so the string "llvm-cov" doesn't get substituted by lit within the input filenames on the RUN line. (3) XFAIL llvm-cov.test because it asserts: include/llvm/ADT/SmallVector.h:140: reference llvm::SmallVectorTemplateCommon<llvm::GCOVBlock *, void>::operator[](unsigned int) [T = llvm::GCOVBlock *]: Assertion `begin() + idx < end()' failed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185358 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/Inputs/llvm_cov.gcda (renamed from test/Other/Inputs/llvm-cov.gcda)bin296 -> 296 bytes
-rw-r--r--test/Other/Inputs/llvm_cov.gcno (renamed from test/Other/Inputs/llvm-cov.gcno)bin984 -> 984 bytes
-rw-r--r--test/Other/lit.local.cfg2
-rw-r--r--test/Other/llvm-cov.test4
4 files changed, 3 insertions, 3 deletions
diff --git a/test/Other/Inputs/llvm-cov.gcda b/test/Other/Inputs/llvm_cov.gcda
index 9ae2286ea2..9ae2286ea2 100644
--- a/test/Other/Inputs/llvm-cov.gcda
+++ b/test/Other/Inputs/llvm_cov.gcda
Binary files differ
diff --git a/test/Other/Inputs/llvm-cov.gcno b/test/Other/Inputs/llvm_cov.gcno
index 25e202386a..25e202386a 100644
--- a/test/Other/Inputs/llvm-cov.gcno
+++ b/test/Other/Inputs/llvm_cov.gcno
Binary files differ
diff --git a/test/Other/lit.local.cfg b/test/Other/lit.local.cfg
index 2693077242..67c7ec7743 100644
--- a/test/Other/lit.local.cfg
+++ b/test/Other/lit.local.cfg
@@ -1 +1 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.txt']
+config.suffixes = ['.ll', '.c', '.cpp', '.txt', '.test']
diff --git a/test/Other/llvm-cov.test b/test/Other/llvm-cov.test
index c0aa203e2c..e161b822da 100644
--- a/test/Other/llvm-cov.test
+++ b/test/Other/llvm-cov.test
@@ -1,3 +1,3 @@
PR11760
-RUN: llvm-cov -gcda=%S/Inputs/llvm-cov.gcda -gcno=%S/Inputs/llvm-cov.gcno
-
+RUN: llvm-cov -gcda=%S/Inputs/llvm_cov.gcda -gcno=%S/Inputs/llvm_cov.gcno
+XFAIL: *