Re: [Qemu-devel] [PATCH 1/9] add pflib: PixelFormat conversion library.

2010-08-20 Thread Gerd Hoffmann
Hi, You can see the rest of the plumbing in the tree. Hmm, "make test" (and trying to build anything in tests/) fails with separate source/build dirs. But it isn't obvious to me why it does. The Makefile takes care to set vpath, so I think it should have picked up the source files just f

Re: [Qemu-devel] [PATCH 1/9] add pflib: PixelFormat conversion library.

2010-08-19 Thread Anthony Liguori
On 08/19/2010 10:34 AM, Gerd Hoffmann wrote: On 08/19/10 16:04, Anthony Liguori wrote: On 08/19/2010 07:40 AM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann This code is more or less stand alone so it's a good candidate for having some in-tree unit tests. I can provide some examples of h

Re: [Qemu-devel] [PATCH 1/9] add pflib: PixelFormat conversion library.

2010-08-19 Thread Gerd Hoffmann
On 08/19/10 16:04, Anthony Liguori wrote: On 08/19/2010 07:40 AM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann This code is more or less stand alone so it's a good candidate for having some in-tree unit tests. I can provide some examples of how it should be done if you like, but just som

Re: [Qemu-devel] [PATCH 1/9] add pflib: PixelFormat conversion library.

2010-08-19 Thread Anthony Liguori
On 08/19/2010 07:40 AM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann This code is more or less stand alone so it's a good candidate for having some in-tree unit tests. I can provide some examples of how it should be done if you like, but just something that lives in tests/ that exe

[Qemu-devel] [PATCH 1/9] add pflib: PixelFormat conversion library.

2010-08-19 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- Makefile.objs |1 + pflib.c | 213 + pflib.h | 20 ++ 3 files changed, 234 insertions(+), 0 deletions(-) create mode 100644 pflib.c create mode 100644 pflib.h diff --git a/Makefile.