[Top][All Lists]
[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.
- [Qemu-devel] [PATCH 20/29] monitor: Drop unused macros, (continued)
- [Qemu-devel] [PATCH 20/29] monitor: Drop unused macros, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 21/29] monitor: Drop str_allocated[], Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 22/29] monitor: Drop args[] handling code, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 23/29] monitor: fail when 'i' type is greater than 32-bit, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 24/29] monitor: Update supported types documentation, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 25/29] Add check support, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 26/29] Introduce QInt unit-tests, Luiz Capitulino, 2009/08/26
- Message not available
- [Qemu-devel] Re: [PATCH 26/29] Introduce QInt unit-tests,
Luiz Capitulino <=
- [Qemu-devel] [PATCH 27/29] Introduce QString unit-tests, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 28/29] Introduce QDict test data file, Luiz Capitulino, 2009/08/26
- [Qemu-devel] [PATCH 29/29] Introduce QDict unit-tests, Luiz Capitulino, 2009/08/26
- Re: [Qemu-devel] [PATCH v2 00/29] QMonitor, Vincent Hanquez, 2009/08/28