cleanup %check/tests
This commit is contained in:
parent
351f1953e4
commit
7e41e741bd
11
kdelibs.spec
11
kdelibs.spec
|
@ -27,9 +27,6 @@
|
|||
%endif
|
||||
# enable tests (disabled by default)
|
||||
#global tests 1
|
||||
%if 0%{?tests}
|
||||
%global _kde4_build_tests -DKDE4_BUILD_TESTS:BOOL=ON
|
||||
%endif
|
||||
|
||||
%global phonon_version %(pkg-config --modversion phonon 2>/dev/null || echo %{phonon_ver})
|
||||
%global shared_desktop_ontologies_version %(pkg-config --modversion shared-desktop-ontologies 2>/dev/null || echo %{shared_desktop_ontologies_ver})
|
||||
|
@ -259,6 +256,12 @@ BuildRequires: graphviz
|
|||
BuildRequires: qt4-doc
|
||||
%endif
|
||||
|
||||
%if 0%{?tests}
|
||||
%global _kde4_build_tests -DKDE4_BUILD_TESTS:BOOL=ON
|
||||
# %%%check
|
||||
BuildRequires: dbus-x11 xorg-x11-server-Xvfb
|
||||
%endif
|
||||
|
||||
Provides: katepart = %{version}-%{release}
|
||||
Provides: katepart%{?_isa} = %{version}-%{release}
|
||||
Provides: kross(javascript) = %{version}-%{release}
|
||||
|
@ -484,7 +487,7 @@ rm -fv %{buildroot}%{_mandir}/man1/kdecmake.1*
|
|||
|
||||
%check
|
||||
%if 0%{?tests}
|
||||
time make -C %{_target_platform}/ test ||:
|
||||
time xvfb-run -a dbus-launch --exit-with-session make -C %{_target_platform}/ test ARGS="--verbose" ||:
|
||||
%endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue