On 11/12/2019 15.24, Paolo Bonzini wrote: > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > The block tests, as well as ahci-test needs qemu-img. Do not run > them if it wasn't built. > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > tests/Makefile.include | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tests/Makefile.include b/tests/Makefile.include > index 8566f5f..f07c761 100644 > --- a/tests/Makefile.include > +++ b/tests/Makefile.include > @@ -169,7 +169,9 @@ check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) += > tests/ivshmem-test$(EXESUF) > check-qtest-i386-$(CONFIG_ISA_TESTDEV) = tests/endianness-test$(EXESUF) > check-qtest-i386-y += tests/fdc-test$(EXESUF) > check-qtest-i386-y += tests/ide-test$(EXESUF) > +ifeq ($(CONFIG_TOOLS),y) > check-qtest-i386-y += tests/ahci-test$(EXESUF) > +endif
Please use "check-qtest-i386-$(CONFIG_TOOLS) += ..." instead. Thomas