summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-06-30 01:40:26 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-06-30 01:40:26 +0200
commiteb76171aa00f319d55002a039bd9a042b977dfc0 (patch)
tree7449883b53e1b36776e1907db0ecee1da8b626dd /packaging
parentcec9fed1f409c193bebf50b97e0b68ce48d4df9a (diff)
downloadbiboumi-eb76171aa00f319d55002a039bd9a042b977dfc0.tar.gz
biboumi-eb76171aa00f319d55002a039bd9a042b977dfc0.tar.bz2
biboumi-eb76171aa00f319d55002a039bd9a042b977dfc0.tar.xz
biboumi-eb76171aa00f319d55002a039bd9a042b977dfc0.zip
Run the test_suite in the spec %check section
Diffstat (limited to 'packaging')
-rw-r--r--packaging/biboumi.spec6
1 files changed, 6 insertions, 0 deletions
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*