From eb76171aa00f319d55002a039bd9a042b977dfc0 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 30 Jun 2014 01:40:26 +0200 Subject: [PATCH] Run the test_suite in the spec %check section --- packaging/biboumi.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/biboumi.spec b/packaging/biboumi.spec index 5c5491b..e91ce23 100644 --- a/packaging/biboumi.spec +++ b/packaging/biboumi.spec @@ -63,6 +63,12 @@ getent passwd %{biboumi_user} > /dev/null || \ exit 0 +%check +make test_suite/fast VERBOSE=1 + +./test_suite || exit 1 + + %files %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* -- 2.45.2