From 2cca61465855134d58bebca0c9be200a2dd66886 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 5 Dec 2019 01:48:04 +0000 Subject: [PATCH] stest: Fix breakage if nproc is not installed This needs to echo 1, not try to run it. The effect is a message on stderr and passing `make -j'. That is actually mostly OK since we have few tests right now... Signed-off-by: Ian Jackson --- stest/Subdir.sd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stest/Subdir.sd.mk b/stest/Subdir.sd.mk index 4c2d1a1..d819170 100644 --- a/stest/Subdir.sd.mk +++ b/stest/Subdir.sd.mk @@ -33,6 +33,6 @@ MAKE_NOTSPECIAL:=$(MAKE) &check:: $(&DEPS) env -u MAKEFLAGS -u MFLAGS \ - $(MAKE_NOTSPECIAL) -f main.mk -j$(shell nproc || 1)0 &check-real + $(MAKE_NOTSPECIAL) -f main.mk -j$(shell nproc || echo 1)0 &check-real &:include subdirmk/cdeps.sd.mk -- 2.30.2