all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] build: unbreak 'nocheck'
@ 2021-07-21 14:58 Fabian Grünbichler
  2021-07-21 15:23 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Grünbichler @ 2021-07-21 14:58 UTC (permalink / raw)
  To: pbs-devel

to skip test cases for faster builds or in case your local system does
not support running (all) tests..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 4c398219..7b21959a 100644
--- a/Makefile
+++ b/Makefile
@@ -205,7 +205,9 @@ install: $(COMPILED_BINS)
 	    install -m755 $(COMPILEDIR)/$(i) $(DESTDIR)$(LIBEXECDIR)/proxmox-backup/ ;)
 	$(MAKE) -C www install
 	$(MAKE) -C docs install
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) test # HACK, only test now to avoid clobbering build files with wrong config
+endif
 
 .PHONY: upload
 upload: ${SERVER_DEB} ${CLIENT_DEB} ${RESTORE_DEB} ${DOC_DEB}
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox-backup] build: unbreak 'nocheck'
  2021-07-21 14:58 [pbs-devel] [PATCH proxmox-backup] build: unbreak 'nocheck' Fabian Grünbichler
@ 2021-07-21 15:23 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-07-21 15:23 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Fabian Grünbichler

On 21.07.21 16:58, Fabian Grünbichler wrote:
> to skip test cases for faster builds or in case your local system does
> not support running (all) tests..
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> ---
>  Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
>

applied, thanks! Had basically the same change around but using $DEB_BUILD_PROFILES,
but seems I misread the docs here:
https://wiki.debian.org/BuildProfileSpec#The_DEB_BUILD_PROFILES_environment_variable




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-21 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 14:58 [pbs-devel] [PATCH proxmox-backup] build: unbreak 'nocheck' Fabian Grünbichler
2021-07-21 15:23 ` [pbs-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal