From f192f098397d157a66cd3cf0662e8b0fb26c3602 Mon Sep 17 00:00:00 2001
From: "Dmitry E. Oboukhov" <unera@debian.org>
Date: Tue, 27 Dec 2011 17:26:38 +0400
Subject: [PATCH] Add tests to build-process.

---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 65e5ea460e..11431d2964 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,8 @@ tarball: clean
 		-czf tarantool_$(UVERSION).orig.tar.gz tarantool-$(UVERSION)
 
 clean::
+	find -type f -name \*.pyc -delete
+	rm -f test/box/admin.reject
 
 install/tarantool-dbg::
 	rm -fr debian/tarantool-dbg/usr/share/doc/tarantool-dbg
@@ -42,6 +44,7 @@ install/tarantool-client-dbg::
 install/tarantool::
 	pod2man -c 'high performance key/value storage server' \
 	    debian/tarantool_box.pod > build-area/tarantool_box.1
+	make -C build-area test || /bin/true
 
 install/tarantool-common::
 	pod2man -c 'tarantool instances control' \
-- 
GitLab