[clucene09] Make tests always verbose
Kevin Kofler
kkofler at fedoraproject.org
Sat Oct 25 20:46:59 UTC 2014
commit 986260e2fdeaf8a9327838d9c7a5e1d037f3b9a5
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date: Sat Oct 25 22:46:53 2014 +0200
Make tests always verbose
Otherwise we have no idea what failed when they fail.
clucene-core-0.9.21b-verbose-tests.patch | 12 ++++++++++++
clucene09.spec | 5 +++++
2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/clucene-core-0.9.21b-verbose-tests.patch b/clucene-core-0.9.21b-verbose-tests.patch
new file mode 100644
index 0000000..13e0cc6
--- /dev/null
+++ b/clucene-core-0.9.21b-verbose-tests.patch
@@ -0,0 +1,12 @@
+diff -ur clucene-core-0.9.21b/test/CuTest.cpp clucene-core-0.9.21b-verbose-tests/test/CuTest.cpp
+--- clucene-core-0.9.21b/test/CuTest.cpp 2008-10-23 19:44:35.000000000 +0200
++++ clucene-core-0.9.21b-verbose-tests/test/CuTest.cpp 2014-10-25 22:34:15.000000000 +0200
+@@ -8,7 +8,7 @@
+ #include "CuTest.h"
+ #include <assert.h>
+
+-static int verbose = 0;
++static int verbose = 1;
+ static int messyPrinting = 0;
+
+ void CuInit(int argc, char *argv[])
diff --git a/clucene09.spec b/clucene09.spec
index 13e0e20..c9bbac5 100644
--- a/clucene09.spec
+++ b/clucene09.spec
@@ -18,6 +18,9 @@ Patch2: clucene-core-0.9.21b-enable-refcount.patch
# This bumps the soname, but that is actually wanted because of Patch2 above.
Patch3: clucene-core-0.9.21b-fix-soversion.patch
+# make tests always verbose
+Patch4: clucene-core-0.9.21b-verbose-tests.patch
+
%description
CLucene is a C++ port of Lucene. It is a high-performance, full-
featured text search engine written in C++. CLucene is faster than
@@ -60,6 +63,7 @@ to work with the newer version and the newer API.
%patch2 -p1 -b .enable-refcount
%patch3 -p1 -b .fix-soversion
touch src/Makefile.in
+%patch4 -p1 -b .verbose-tests
%build
%configure --disable-static
@@ -118,6 +122,7 @@ rm -rf $RPM_BUILD_ROOT
- Enable reference counting (LUCENE_ENABLE_REFCOUNT) for Qt Assistant (#1128293)
- Bump soversion to 3.0.1, as apparently intended by upstream to begin with
- Better GCC 4.8 fix, works with refcount without adding throwspecs everywhere
+- Make tests always verbose
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.21b-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list