]> git.puffer.fish Git - matthieu/pve-network.git/commitdiff
skip tests in sbuild environment for now
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jun 2023 08:23:03 +0000 (10:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jun 2023 08:23:57 +0000 (10:23 +0200)
they access pmxcfs directly and so cannot really work, this needs to
be mocked some day (soon!), but as stop-gap just skip the tests if a
sbuild lock is present

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Makefile

index 1529c87273913f76f71fe23f6ba7cbfc5d190743..36f90db202a5b76fe34434143239a5d7d76b3acb 100644 (file)
@@ -8,7 +8,7 @@ clean:
 
 .PHONY: test
 test:
-       $(MAKE) -C $@
+       [ -e /run/lock/sbuild ] || $(MAKE) -C $@
 
 .PHONY: install
 install: