]> Git Repo - qemu.git/commitdiff
qemu-iotests: Add dependency to qemu-nbd tool
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 7 Mar 2019 15:10:46 +0000 (16:10 +0100)
committerKevin Wolf <[email protected]>
Fri, 8 Mar 2019 11:26:46 +0000 (12:26 +0100)
Since a9660664fde, some iotests use qemu-nbd.
Add a dependency to build it before using it.
This fixes:

  $ make check-block
    GEN     qemu-img-cmds.h
    CC      qemu-img.o
    LINK    qemu-img
    CC      qemu-io.o
    LINK    qemu-io
    CC      tests/qemu-iotests/socket_scm_helper.o
    LINK    tests/qemu-iotests/socket_scm_helper
  tests/qemu-iotests-quick.sh
  check: qemu-nbd not found
  make: *** [tests/Makefile.include:1059: check-tests/qemu-iotests-quick.sh] Error 1

Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/Makefile.include

index b6bd0a5ed8deb2b62e336e3c4473411c3fa71dfe..45a43021033f34a34f88081327ddc5113d31ee48 100644 (file)
@@ -1104,7 +1104,7 @@ clean-tcg: $(CLEAN_TCG_TARGET_RULES)
 QEMU_IOTESTS_HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) = tests/qemu-iotests/socket_scm_helper$(EXESUF)
 
 .PHONY: check-tests/qemu-iotests-quick.sh
-check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(EXESUF) qemu-io$(EXESUF) $(QEMU_IOTESTS_HELPERS-y)
+check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(EXESUF) qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y)
        $<
 
 .PHONY: $(patsubst %, check-%, $(check-qapi-schema-y))
This page took 0.029374 seconds and 4 git commands to generate.