]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/vm: Take the J=x setting into account for the vm-boot-ssh targets, too
authorThomas Huth <thuth@redhat.com>
Wed, 24 Jul 2019 09:58:48 +0000 (11:58 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 5 Sep 2019 11:18:52 +0000 (13:18 +0200)
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.

Message-Id: <20190726100207.19112-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/vm/Makefile.include

index 35607160921c51c6cf78ebb6aea20a1277db7f0a..fea348e845c34de59a9edd7423a626a10d954f53 100644 (file)
@@ -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, \