Skip to contentSkip to conversation

tests/vm: Take the J=x setting into account for the vm-boot-ssh targets, too

PATCH New Thomas Huth 1 participant 1 message Jul 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/vm: Take the J=x setting into account for the vm-boot-ssh targets, too

For testing whether the VMs can deal with multiple CPUs correctly, it is useful to be able to use the "J=<cpus>" setting for the vm-boot-ssh targets, too.

---
 tests/vm/Makefile.include | 1 +
 1 file changed, 1 insertion(+)
tests/vm/Makefile.include +1 -0
index 3560716092..fea348e845 100644
@@ -80,6 +80,7 @@ vm-boot-serial-%: $(IMAGES_DIR)/%.img
 vm-boot-ssh-%: $(IMAGES_DIR)/%.img
 	$(call quiet-command, \
 		$(SRC_PATH)/tests/vm/$* \
+		$(if $(J),--jobs $(J)) \
 		--image "$<" \
 		--interactive \
 		false, \
Signature · 1 line
2.21.0