[llvm] r185358 - (1) Add ".test" to test/Other/lit.local.cfg, so llvm-cov.test is actually run.

Matt Beaumont-Gay matthewbg at google.com
Mon Jul 1 11:58:53 PDT 2013


Author: matthewbg
Date: Mon Jul  1 13:58:53 2013
New Revision: 185358

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

Added:
    llvm/trunk/test/Other/Inputs/llvm_cov.gcda
      - copied, changed from r185356, llvm/trunk/test/Other/Inputs/llvm-cov.gcda
    llvm/trunk/test/Other/Inputs/llvm_cov.gcno
      - copied, changed from r185356, llvm/trunk/test/Other/Inputs/llvm-cov.gcno
Removed:
    llvm/trunk/test/Other/Inputs/llvm-cov.gcda
    llvm/trunk/test/Other/Inputs/llvm-cov.gcno
Modified:
    llvm/trunk/test/Other/lit.local.cfg
    llvm/trunk/test/Other/llvm-cov.test

Removed: llvm/trunk/test/Other/Inputs/llvm-cov.gcda
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/Inputs/llvm-cov.gcda?rev=185357&view=auto
==============================================================================
Binary file - no diff available.

Removed: llvm/trunk/test/Other/Inputs/llvm-cov.gcno
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/Inputs/llvm-cov.gcno?rev=185357&view=auto
==============================================================================
Binary file - no diff available.

Copied: llvm/trunk/test/Other/Inputs/llvm_cov.gcda (from r185356, llvm/trunk/test/Other/Inputs/llvm-cov.gcda)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/Inputs/llvm_cov.gcda?p2=llvm/trunk/test/Other/Inputs/llvm_cov.gcda&p1=llvm/trunk/test/Other/Inputs/llvm-cov.gcda&r1=185356&r2=185358&rev=185358&view=diff
==============================================================================
Binary files - no diff available.

Copied: llvm/trunk/test/Other/Inputs/llvm_cov.gcno (from r185356, llvm/trunk/test/Other/Inputs/llvm-cov.gcno)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/Inputs/llvm_cov.gcno?p2=llvm/trunk/test/Other/Inputs/llvm_cov.gcno&p1=llvm/trunk/test/Other/Inputs/llvm-cov.gcno&r1=185356&r2=185358&rev=185358&view=diff
==============================================================================
Binary files - no diff available.

Modified: llvm/trunk/test/Other/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/lit.local.cfg?rev=185358&r1=185357&r2=185358&view=diff
==============================================================================
--- llvm/trunk/test/Other/lit.local.cfg (original)
+++ llvm/trunk/test/Other/lit.local.cfg Mon Jul  1 13:58:53 2013
@@ -1 +1 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.txt']
+config.suffixes = ['.ll', '.c', '.cpp', '.txt', '.test']

Modified: llvm/trunk/test/Other/llvm-cov.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/llvm-cov.test?rev=185358&r1=185357&r2=185358&view=diff
==============================================================================
--- llvm/trunk/test/Other/llvm-cov.test (original)
+++ llvm/trunk/test/Other/llvm-cov.test Mon Jul  1 13:58:53 2013
@@ -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: *





More information about the llvm-commits mailing list