[soprano] %check: run only virtuosobackendtest (verbosely)
Rex Dieter
rdieter at fedoraproject.org
Fri Aug 30 18:12:09 UTC 2013
commit 2d7691681256c016e51810addc99580b95fa5d23
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Fri Aug 30 13:11:58 2013 -0500
%check: run only virtuosobackendtest (verbosely)
soprano.spec | 23 +++++++----------------
1 files changed, 7 insertions(+), 16 deletions(-)
---
diff --git a/soprano.spec b/soprano.spec
index abb9531..aad4f7d 100644
--- a/soprano.spec
+++ b/soprano.spec
@@ -2,12 +2,12 @@
# undef or set to 0 to disable items for a faster build
%global apidocs 1
## upstream says tests busted, maybe to be fixed in some future point release
-#global tests 1
+%global tests 1
Summary: Qt wrapper API to different RDF storage solutions
Name: soprano
Version: 2.9.3
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
URL: http://sourceforge.net/projects/soprano
@@ -134,20 +134,8 @@ find %{buildroot}%{_kde4_docdir}/HTML/en/ -name 'installdox' -exec rm -fv {} ';'
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
test "$(pkg-config --modversion soprano)" = "%{version}"
%if 0%{?tests:1}
-## expected doing manual build (with active dbus/user session?)
-## TODO/FIXME: mock builds have many more, find out why.
-#The following tests FAILED:
-# 13 - parsertest (Failed)
-# 14 - serializertest (Failed)
-# 17 - cluceneindextest (Failed)
-# 19 - sopranodclienttest (Failed)
-# 20 - localsocketmultithreadtest (Failed)
-# 21 - sopranodsocketclienttest (Failed)
-# 22 - sopranodbusclienttest (Failed)
-# 23 - sopranodbusmultithreadtest (OTHER_FAULT)
-# 25 - virtuosobackendtest (Failed)
-# 26 - graphtest (Failed)
-make -C %{_target_platform}/test test ||:
+# expect serveral failures, but we care mostly about virtuosobackendtest
+make -C %{_target_platform} test ARGS="-V -R virtuosobackendtest" ||:
%endif
@@ -202,6 +190,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Aug 30 2013 Rex Dieter <rdieter at fedoraproject.org> 2.9.3-3
+- %%check: run only virtuosobackendtest (verbosely)
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list