diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2013-07-01 18:58:53 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2013-07-01 18:58:53 +0000 |
commit | 1a84066b8c6e57d43309edc8cad2ca32acfbf836 (patch) | |
tree | dc1a435344adfc76eae0ac18296cf7736b1de14b /test/Other | |
parent | 40d0492cdea1023463a9902ee81b3c5251204039 (diff) | |
download | llvm-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) | bin | 296 -> 296 bytes | |||
-rw-r--r-- | test/Other/Inputs/llvm_cov.gcno (renamed from test/Other/Inputs/llvm-cov.gcno) | bin | 984 -> 984 bytes | |||
-rw-r--r-- | test/Other/lit.local.cfg | 2 | ||||
-rw-r--r-- | test/Other/llvm-cov.test | 4 |
4 files changed, 3 insertions, 3 deletions
diff --git a/test/Other/Inputs/llvm-cov.gcda b/test/Other/Inputs/llvm_cov.gcda Binary files differindex 9ae2286ea2..9ae2286ea2 100644 --- a/test/Other/Inputs/llvm-cov.gcda +++ b/test/Other/Inputs/llvm_cov.gcda diff --git a/test/Other/Inputs/llvm-cov.gcno b/test/Other/Inputs/llvm_cov.gcno Binary files differindex 25e202386a..25e202386a 100644 --- a/test/Other/Inputs/llvm-cov.gcno +++ b/test/Other/Inputs/llvm_cov.gcno 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: * |