From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Std6O-0003I0-0x for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:16:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Std6E-0000G3-Ev for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:16:31 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:36701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Std6E-0000Fp-5H for qemu-devel@nongnu.org; Tue, 24 Jul 2012 07:16:22 -0400 Date: Tue, 24 Jul 2012 07:16:18 -0400 (EDT) From: Paolo Bonzini Message-ID: <1055514151.1144082.1343128578833.JavaMail.root@redhat.com> In-Reply-To: <20120718172227.GC18479@otherpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH resend] tests: Makefile: include dependency files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, Anthony Liguori ----- Messaggio originale ----- > Da: "Eduardo Habkost" > A: qemu-devel@nongnu.org > Cc: "Paolo Bonzini" , "Anthony Liguori" > Inviato: Mercoled=C3=AC, 18 luglio 2012 19:22:27 > Oggetto: [PATCH resend] tests: Makefile: include dependency files >=20 > Otherwise 'make check' won't recompile files that need to be > recompiled > because of header changes. >=20 > To reproduce the bug, run: >=20 > $ make check # succeeds > $ echo B0RKED > hw/mc146818rtc_regs.h > $ make check # is supposed to try to rebuild tests/rtc-test.o and > fail >=20 > Signed-off-by: Eduardo Habkost > --- > tests/Makefile | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/tests/Makefile b/tests/Makefile > index d66ab19..b3f7494 100644 > --- a/tests/Makefile > +++ b/tests/Makefile > @@ -143,3 +143,5 @@ check-qtest: $(patsubst %,check-qtest-%, > $(QTEST_TARGETS)) > check-unit: $(patsubst %,check-%, $(check-unit-y)) > check-block: $(patsubst %,check-%, $(check-block-y)) > check: check-unit check-qtest > + > +-include $(wildcard tests/*.d) > -- > 1.7.10.4 Acked-by: Paolo Bonzini