(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
This commit is contained in:
Matt Beaumont-Gay 2013-07-01 18:58:53 +00:00
parent 40d0492cde
commit 1a84066b8c
4 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
config.suffixes = ['.ll', '.c', '.cpp', '.txt']
config.suffixes = ['.ll', '.c', '.cpp', '.txt', '.test']

View File

@ -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: *