buildsys: call 'make test' in build target

the build target gets invoked as regular user without 'fakeroot'. Running
SpamAssassin's tests as root (or via fakeroot) leads to a
non-deterministically failing testcase ('t/spamc_optC.t') - I couldn't find
the root-cause, but running the tests as regular user did work consistently.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2020-01-20 19:37:28 +01:00 committed by Thomas Lamprecht
parent d27e5c832e
commit cadcf070c0

3
debian/rules vendored
View File

@ -39,6 +39,8 @@ build-stamp: $(QUILT_STAMPFN)
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
$(MAKE) test
touch build-stamp
clean: unpatch
@ -57,7 +59,6 @@ install-stamp:
dh_clean -k
# Add commands to install the package into debian/PACKAGE_NAME here
$(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
# rm example local.cf