From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh6A2-0006e3-Js for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:26:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh69y-0006by-5Q for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:26:54 -0400 Received: from [199.232.76.173] (port=41230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh69x-0006bt-N6 for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:26:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48473) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh69x-0002rz-99 for qemu-devel@nongnu.org; Fri, 28 Aug 2009 14:26:49 -0400 Date: Fri, 28 Aug 2009 15:26:39 -0300 From: Luiz Capitulino Message-ID: <20090828152639.5f817b5f@doriath> In-Reply-To: References: <1251306352-31316-1-git-send-email-lcapitulino@redhat.com> <1251306352-31316-27-git-send-email-lcapitulino@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 26/29] Introduce QInt unit-tests List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, avi@redhat.com On Wed, 26 Aug 2009 23:55:49 +0200 Juan Quintela wrote: > Luiz Capitulino wrote: > > This suite contains tests to assure that QInt API works as expected. > > > > To execute it you should have check installed and build QEMU with > > check support enabled (--enable-check) and then run: > > > > $ ./check-qint > > > > Signed-off-by: Luiz Capitulino > > --- > > Makefile | 1 + > > check-qint.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > configure | 2 +- > > 3 files changed, 112 insertions(+), 1 deletions(-) > > create mode 100644 check-qint.c > > > > diff --git a/Makefile b/Makefile > > index efeb6ba..16dbc16 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -182,6 +182,7 @@ qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx > > > > ifdef CONFIG_CHECK > > LIBS += $(CHECK_LIBS) > > +check-qint: check-qint.o qint.o qemu-malloc.o > > Don't put it under ifdef > put the dependency alwasy there. > > and I think that: > > check-%: check-%.o %.o quemu-malloc.o > > should work for all your cases, do you care to test? Didn't work on first try.