Re: [Qemu-devel] [PATCH v3 22/22] qidl: unit tests and build infrastructure

2012-10-15 Thread Michael Roth
On Mon, Oct 15, 2012 at 10:52:37AM +0200, Kevin Wolf wrote: > Am 12.10.2012 23:39, schrieb Michael Roth: > > On Fri, Oct 05, 2012 at 10:24:30AM +0200, Paolo Bonzini wrote: > >> Il 04/10/2012 19:33, Michael Roth ha scritto: > >>> + > >>> +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix > >>> $(SRC_PAT

Re: [Qemu-devel] [PATCH v3 22/22] qidl: unit tests and build infrastructure

2012-10-15 Thread Kevin Wolf
Am 12.10.2012 23:39, schrieb Michael Roth: > On Fri, Oct 05, 2012 at 10:24:30AM +0200, Paolo Bonzini wrote: >> Il 04/10/2012 19:33, Michael Roth ha scritto: >>> + >>> +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix $(SRC_PATH)/scripts/,lexer.py >>> qidl.py qidl_parser.py qapi.py qapi_visit.py) >>> +

Re: [Qemu-devel] [PATCH v3 22/22] qidl: unit tests and build infrastructure

2012-10-13 Thread Paolo Bonzini
Il 12/10/2012 23:39, Michael Roth ha scritto: > So hopefully the current approach is a reasonable start for now. Yes, I'll look into it possibly after merge. Paolo

Re: [Qemu-devel] [PATCH v3 22/22] qidl: unit tests and build infrastructure

2012-10-12 Thread Michael Roth
On Fri, Oct 05, 2012 at 10:24:30AM +0200, Paolo Bonzini wrote: > Il 04/10/2012 19:33, Michael Roth ha scritto: > > + > > +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix $(SRC_PATH)/scripts/,lexer.py > > qidl.py qidl_parser.py qapi.py qapi_visit.py) > > + $(call rm -f $(*D)/qidl-generated/$(*F).qid

Re: [Qemu-devel] [PATCH v3 22/22] qidl: unit tests and build infrastructure

2012-10-05 Thread Paolo Bonzini
Il 04/10/2012 19:33, Michael Roth ha scritto: > + > +%.qidl.c: %.c $(SRC_PATH)/qidl.h $(addprefix $(SRC_PATH)/scripts/,lexer.py > qidl.py qidl_parser.py qapi.py qapi_visit.py) > + $(call rm -f $(*D)/qidl-generated/$(*F).qidl.c) > + $(if $(strip $(shell grep "QIDL_ENABLE()" $< 1>/dev/null &

[Qemu-devel] [PATCH v3 22/22] qidl: unit tests and build infrastructure

2012-10-04 Thread Michael Roth
Signed-off-by: Michael Roth --- Makefile |2 + rules.mak | 20 - tests/Makefile |8 +- tests/test-qidl-included.h | 31 tests/test-qidl-linked.c | 93 ++ tests/test-qidl-linked.h | 18 + tests