ahci-test: Add dependency to qemu-img tool
commit377213f4d1373feee1621e32870f19eb515b7388
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Mar 2019 15:10:45 +0000 (7 16:10 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Mar 2019 11:26:46 +0000 (8 12:26 +0100)
treee101a77cd362c08dc74c450f09a38411fd6935dc
parentac40260dc554f20f06f23d458ec726360ddf8e39
ahci-test: Add dependency to qemu-img tool

Since the ahci-test uses qemu-img, add a dependency to build it
before using it.
This fixes:

  $ gmake check-qtest V=1
  QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/ahci-test
  Failed to execute child process "/tmp/qemu-test.19tMRF/qemu-img" (No such file or directory)
  ERROR:tests/libqos/libqos.c:192:mkimg: assertion failed: (ret && !err)

Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/Makefile.include