From: Ian Jackson Date: Thu, 5 Dec 2019 01:48:04 +0000 (+0000) Subject: stest: Fix breakage if nproc is not installed X-Git-Tag: v0.6.0~257 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2cca61465855134d58bebca0c9be200a2dd66886;p=secnet.git 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 --- 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