From d823cfba6b4ddfecc82776e62e0da10d66df6292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aapi=20H=C3=A4m=C3=A4l=C3=A4inen?= Date: Tue, 11 Dec 2018 12:15:21 +0200 Subject: [PATCH] run osc test suite during build (JB#42490) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aapi Hämäläinen --- osc.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/osc.spec b/osc.spec index 470acb5..ce2e4c5 100644 --- a/osc.spec +++ b/osc.spec @@ -33,6 +33,7 @@ Requires: /usr/bin/diff3 BuildRequires: python-devel BuildRequires: python-urlgrabber BuildRequires: m2crypto +BuildRequires: diffstat %description Commandline client for the openSUSE Build Service. @@ -92,10 +93,14 @@ install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/lib/osc/complete mkdir -p %{buildroot}%{_prefix}/%{_lib}/osc install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete %endif - - # << install post +%check +( + cd tests + python suite.py +) + %files %defattr(-,root,root,-) # >> files