all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH ifupdown2] d/rules: run upstream unit tests during package build
@ 2026-10-15 14:52 Gabriel Goller
  2026-10-16 12:19 ` Christoph Heiss
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Goller @ 2026-10-15 14:52 UTC (permalink / raw)
  To: pve-devel

Reported-by: Christoph Heiss <c.heiss@proxmox.com>
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index cc9547dce6e8..04438529244b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 #export DH_VERBOSE=1
 export PYBUILD_NAME=ifupdown2
 export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ --install-scripts=/usr/share/
+export PYBUILD_TEST_ARGS=--start-directory {dir}/tests/unit
 
 %:
 	dh $@ --with=python3 --buildsystem=pybuild
-- 
2.47.3





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

* Re: [PATCH ifupdown2] d/rules: run upstream unit tests during package build
  2026-10-15 14:52 [PATCH ifupdown2] d/rules: run upstream unit tests during package build Gabriel Goller
@ 2026-10-16 12:19 ` Christoph Heiss
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Heiss @ 2026-10-16 12:19 UTC (permalink / raw)
  To: Gabriel Goller; +Cc: pve-devel

Thanks for the followup.

Applied on top of [0], checked that the (new) unit tests are now run on 
`make deb` with our packaging.

[0] 
https://lore.proxmox.com/pve-devel/20261008102322.95273-1-g.goller@proxmox.com/

On 10/15/26 16:52, Gabriel Goller wrote:
> Reported-by: Christoph Heiss <c.heiss@proxmox.com>
> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>

Tested-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>

> ---
>   debian/rules | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/debian/rules b/debian/rules
> index cc9547dce6e8..04438529244b 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -3,6 +3,7 @@
>   #export DH_VERBOSE=1
>   export PYBUILD_NAME=ifupdown2
>   export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ --install-scripts=/usr/share/
> +export PYBUILD_TEST_ARGS=--start-directory {dir}/tests/unit
>   
>   %:
>   	dh $@ --with=python3 --buildsystem=pybuild





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

end of thread, other threads:[~2026-10-16 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 14:52 [PATCH ifupdown2] d/rules: run upstream unit tests during package build Gabriel Goller
2026-10-16 12:19 ` Christoph Heiss

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