From fa9c1ddd8d0eb42219cfccb91c6e44d2c4eeada3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 6 Jun 2023 10:23:03 +0200 Subject: [PATCH] skip tests in sbuild environment for now 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 --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 1529c87..36f90db 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ clean: .PHONY: test test: - $(MAKE) -C $@ + [ -e /run/lock/sbuild ] || $(MAKE) -C $@ .PHONY: install install: -- 2.39.5