From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbYO6-0006PW-BE for qemu-devel@nongnu.org; Wed, 30 Oct 2013 12:13:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbYNy-0000c7-TB for qemu-devel@nongnu.org; Wed, 30 Oct 2013 12:12:54 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57233 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbYNy-0000c1-Nk for qemu-devel@nongnu.org; Wed, 30 Oct 2013 12:12:46 -0400 Message-ID: <52712FFB.3020302@suse.de> Date: Wed, 30 Oct 2013 17:12:43 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] How to add qemu-system-$(target) as a dependency for qtests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel Cc: Markus Armbruster , Anthony Liguori Am 30.10.2013 16:07, schrieb Stefan Hajnoczi: > I came across this little tests/Makefile annoyance: > If you modify QEMU code and then run "make check" it will not rebuild Q= EMU. >=20 > This can be confusing during development when you expect changing the > code and rerunning the tests to pass :). >=20 > I played with tests/Makefile but was unable to add the right > dependency. We need something that makes all libqtest tests depend on > $(TARGET)-softmmu/qemu-system-$(TARGET) at "make check" time. >=20 > This way QEMU gets rebuilt if "make check" will execute the QEMU binary= . >=20 > Any ideas? Technically, tests/Makefile is part of ./Makefile, whereas qemu-system-$(TARGET) gets built recursively in Makefile.target. Thus, something like this might work: check-qtest-x86_64: subdir-x86_64-softmmu Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg