[nepomuk-core/f20] tweak %check, and disable (temporarily)

Rex Dieter rdieter at fedoraproject.org
Fri Dec 13 14:02:43 UTC 2013


commit bcb18071c49ecfe487a5aeb98492fa1918a858cf
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Dec 13 08:02:35 2013 -0600

    tweak %check, and disable (temporarily)

 nepomuk-core.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nepomuk-core.spec b/nepomuk-core.spec
index cf6f109..ea3605f 100644
--- a/nepomuk-core.spec
+++ b/nepomuk-core.spec
@@ -5,7 +5,7 @@
 %global soprano_version %(pkg-config --modversion soprano 2>/dev/null || echo %{soprano_ver})
 
 # enable tests (they're disabled by default)
-%global tests 1
+#global tests 1
 %if 0%{?tests}
 %global _kde4_build_tests -DKDE4_BUILD_TESTS:BOOL=ON
 %endif
@@ -126,7 +126,7 @@ rm -fv %{buildroot}%{_kde4_libdir}/libnepomukcleaner.so
 %check
 desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/nepomukbackup.desktop
 %if 0%{?tests}
-time make -C %{_target_platform}/ test ARGS="--timeout 120" ||:
+time xvfb-run -a make test ARGS="--output-on-failure --timeout 120" -C %{_target_platform}/ ||:
 %endif
 
 


More information about the scm-commits mailing list