qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 26/29] Introduce QInt unit-tests


From: Luiz Capitulino
Subject: [Qemu-devel] Re: [PATCH 26/29] Introduce QInt unit-tests
Date: Fri, 28 Aug 2009 15:26:39 -0300

On Wed, 26 Aug 2009 23:55:49 +0200
Juan Quintela <address@hidden> wrote:

> Luiz Capitulino <address@hidden> 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 <address@hidden>
> > ---
> >  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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]