(1) Add ".test" to test/Other/lit.local.cfg, so llvm-cov.test is actually run.
authorMatt Beaumont-Gay <matthewbg@google.com>
Mon, 1 Jul 2013 18:58:53 +0000 (18:58 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Mon, 1 Jul 2013 18:58:53 +0000 (18:58 +0000)
(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

test/Other/Inputs/llvm-cov.gcda [deleted file]
test/Other/Inputs/llvm-cov.gcno [deleted file]
test/Other/Inputs/llvm_cov.gcda [new file with mode: 0644]
test/Other/Inputs/llvm_cov.gcno [new file with mode: 0644]
test/Other/lit.local.cfg
test/Other/llvm-cov.test

diff --git a/test/Other/Inputs/llvm-cov.gcda b/test/Other/Inputs/llvm-cov.gcda
deleted file mode 100644 (file)
index 9ae2286..0000000
Binary files a/test/Other/Inputs/llvm-cov.gcda and /dev/null differ
diff --git a/test/Other/Inputs/llvm-cov.gcno b/test/Other/Inputs/llvm-cov.gcno
deleted file mode 100644 (file)
index 25e2023..0000000
Binary files a/test/Other/Inputs/llvm-cov.gcno and /dev/null differ
diff --git a/test/Other/Inputs/llvm_cov.gcda b/test/Other/Inputs/llvm_cov.gcda
new file mode 100644 (file)
index 0000000..9ae2286
Binary files /dev/null and b/test/Other/Inputs/llvm_cov.gcda differ
diff --git a/test/Other/Inputs/llvm_cov.gcno b/test/Other/Inputs/llvm_cov.gcno
new file mode 100644 (file)
index 0000000..25e2023
Binary files /dev/null and b/test/Other/Inputs/llvm_cov.gcno differ
index 269307724232deaea59173c303247dcb524d31a8..67c7ec774332c22e4cc9cc3e263b2da71db62c57 100644 (file)
@@ -1 +1 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.txt']
+config.suffixes = ['.ll', '.c', '.cpp', '.txt', '.test']
index c0aa203e2c17aa2573e9fbf8d2ce65b884c62292..e161b822dacff189c7dd154c71d4facfe97f3fb8 100644 (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: *