Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
[kcalcore] Disable building unit tests. Contributes to JB#43708
Browse files Browse the repository at this point in the history
Fails in CI but not in local build, presumably some library path
isn't being set properly in the test .pro.  Disabling for now.
  • Loading branch information
Chris Adams committed Oct 17, 2019
1 parent 487a9b9 commit f8153fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions kcalcore.pro
@@ -1,5 +1,5 @@
TEMPLATE = subdirs
SUBDIRS += \
kcalcore \
kcalcore/tests
kcalcore
# kcalcore/tests
OTHER_FILES += rpm/kcalcore-qt5.spec
22 changes: 11 additions & 11 deletions rpm/kcalcore-qt5.spec
Expand Up @@ -29,13 +29,13 @@ Requires: %{name} = %{version}-%{release}
This package contains the files necessary to develop
applications using kcalcore

%package tests
Summary: Unit tests for kcalcore
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description tests
This package contains unit tests for kcalcore.
#%package tests
#Summary: Unit tests for kcalcore
#Group: Development/Libraries
#Requires: %{name} = %{version}-%{release}
#
#%description tests
#This package contains unit tests for kcalcore.

%prep
%setup -q -n %{name}-%{version}
Expand All @@ -62,7 +62,7 @@ rm -rf %{buildroot}
%{_libdir}/libkcalcoren-qt5.so
%{_libdir}/pkgconfig/*.pc

%files tests
%defattr(-,root,root,-)
/opt/tests/kcalcore-qt5/tst_timesininterval
%dir /opt/tests/kcalcore-qt5
#%files tests
#%defattr(-,root,root,-)
#/opt/tests/kcalcore-qt5/tst_timesininterval
#%dir /opt/tests/kcalcore-qt5

0 comments on commit f8153fe

Please sign in to comment.