mirror of
https://git.proxmox.com/git/proxmox-spamassassin
synced 2025-07-25 22:41:39 +00:00
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:
parent
d27e5c832e
commit
cadcf070c0
3
debian/rules
vendored
3
debian/rules
vendored
@ -39,6 +39,8 @@ build-stamp: $(QUILT_STAMPFN)
|
|||||||
$(PERL) Makefile.PL INSTALLDIRS=vendor
|
$(PERL) Makefile.PL INSTALLDIRS=vendor
|
||||||
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
|
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
|
||||||
|
|
||||||
|
$(MAKE) test
|
||||||
|
|
||||||
touch build-stamp
|
touch build-stamp
|
||||||
|
|
||||||
clean: unpatch
|
clean: unpatch
|
||||||
@ -57,7 +59,6 @@ install-stamp:
|
|||||||
dh_clean -k
|
dh_clean -k
|
||||||
|
|
||||||
# Add commands to install the package into debian/PACKAGE_NAME here
|
# Add commands to install the package into debian/PACKAGE_NAME here
|
||||||
$(MAKE) test
|
|
||||||
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
|
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
|
||||||
|
|
||||||
# rm example local.cf
|
# rm example local.cf
|
||||||
|
Loading…
Reference in New Issue
Block a user