[Qemu-devel] [PATCH 0/4] add "make check"

2011-09-01 Thread Gerd Hoffmann
Hi, This patch series intends to make unit testing easier. It adds a new "make check" target which can be used to run all unit tests which are currently in the tree. It also enables the unit tests by default, so you don't have to re-run configure with a special switch. cheers, Gerd Gerd Ho

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-24 Thread Eduardo Habkost
On Mon, Sep 05, 2011 at 09:55:20AM +0200, Markus Armbruster wrote: > Gerd Hoffmann writes: > > > Hi, > > > > This patch series intends to make unit testing easier. It adds a new > > "make check" target which can be used to run all unit tests which are > > currently in the tree. It also enable

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-24 Thread Anthony Liguori
On 10/24/2011 01:43 PM, Eduardo Habkost wrote: On Mon, Sep 05, 2011 at 09:55:20AM +0200, Markus Armbruster wrote: Gerd Hoffmann writes: Hi, This patch series intends to make unit testing easier. It adds a new "make check" target which can be used to run all unit tests which are currently

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Kevin Wolf
Am 24.10.2011 20:57, schrieb Anthony Liguori: > On 10/24/2011 01:43 PM, Eduardo Habkost wrote: >> On Mon, Sep 05, 2011 at 09:55:20AM +0200, Markus Armbruster wrote: >>> Gerd Hoffmann writes: >>> Hi, This patch series intends to make unit testing easier. It adds a new "make

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Gerd Hoffmann
Hi, >> I was hoping for more, but maybe we just need to start here and grow >> organically, I'll queue it again. > > A while ago I played with some simple IDE tests. It basically was a > small x86 kernel with an empty image that sends IDE commands and prints > some results, and a script that i

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Kevin Wolf
Am 25.10.2011 15:27, schrieb Gerd Hoffmann: > Hi, > >>> I was hoping for more, but maybe we just need to start here and grow >>> organically, I'll queue it again. >> >> A while ago I played with some simple IDE tests. It basically was a >> small x86 kernel with an empty image that sends IDE com

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Anthony Liguori
On 10/25/2011 07:21 AM, Kevin Wolf wrote: Am 24.10.2011 20:57, schrieb Anthony Liguori: On 10/24/2011 01:43 PM, Eduardo Habkost wrote: On Mon, Sep 05, 2011 at 09:55:20AM +0200, Markus Armbruster wrote: Gerd Hoffmann writes: Hi, This patch series intends to make unit testing easier. I

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Eduardo Habkost
On Tue, Oct 25, 2011 at 03:27:35PM +0200, Gerd Hoffmann wrote: [...] > > A while ago I played with some simple IDE tests. It basically was a > > small x86 kernel with an empty image that sends IDE commands and prints > > some results, and a script that invokes the guest and checks whether the > > t

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Kevin Wolf
Am 25.10.2011 17:03, schrieb Eduardo Habkost: > On Tue, Oct 25, 2011 at 03:27:35PM +0200, Gerd Hoffmann wrote: > [...] >>> A while ago I played with some simple IDE tests. It basically was a >>> small x86 kernel with an empty image that sends IDE commands and prints >>> some results, and a script t

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Gerd Hoffmann
Hi, > Just trying to enumerate the kind of tests somebody may need: > > A) Simple unit tests for internal qemu C functions >- 'make check' can run them, using either libcheck or gtest. Yes, those tests should work and succeed anywhere where qemu compiles. > B) Functional tests that tests

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-25 Thread Lucas Meneghel Rodrigues
On 10/25/2011 01:03 PM, Eduardo Habkost wrote: On Tue, Oct 25, 2011 at 03:27:35PM +0200, Gerd Hoffmann wrote: [...] A while ago I played with some simple IDE tests. It basically was a small x86 kernel with an empty image that sends IDE commands and prints some results, and a script that invokes

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-26 Thread Anthony Liguori
On 10/25/2011 10:22 AM, Kevin Wolf wrote: Am 25.10.2011 17:03, schrieb Eduardo Habkost: I think qemu-iotests could be considered an instance of B) C) Functional tests that just need to run a small binary with no OS installed in the guest, but running a fully-feature qemu process. - The

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-27 Thread Kevin Wolf
Am 26.10.2011 22:49, schrieb Anthony Liguori: > On 10/25/2011 10:22 AM, Kevin Wolf wrote: >> Am 25.10.2011 17:03, schrieb Eduardo Habkost: >> I think qemu-iotests could be considered an instance of B) >> >>> C) Functional tests that just need to run a small binary with no OS >>> installed in th

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-27 Thread Anthony Liguori
On 10/27/2011 03:20 AM, Kevin Wolf wrote: Am 26.10.2011 22:49, schrieb Anthony Liguori: On 10/25/2011 10:22 AM, Kevin Wolf wrote: Am 25.10.2011 17:03, schrieb Eduardo Habkost: I think qemu-iotests could be considered an instance of B) C) Functional tests that just need to run a small binary w

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-10-27 Thread Michael Roth
On Thu, 27 Oct 2011 12:58:32 -0500, Anthony Liguori wrote: > On 10/27/2011 03:20 AM, Kevin Wolf wrote: > > Am 26.10.2011 22:49, schrieb Anthony Liguori: > >> On 10/25/2011 10:22 AM, Kevin Wolf wrote: > >>> Am 25.10.2011 17:03, schrieb Eduardo Habkost: > >>> I think qemu-iotests could be considere

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-11-01 Thread Anthony Liguori
On 09/01/2011 10:42 AM, Gerd Hoffmann wrote: Hi, This patch series intends to make unit testing easier. It adds a new "make check" target which can be used to run all unit tests which are currently in the tree. It also enables the unit tests by default, so you don't have to re-run configure

Re: [Qemu-devel] [PATCH 0/4] add "make check"

2011-09-05 Thread Markus Armbruster
Gerd Hoffmann writes: > Hi, > > This patch series intends to make unit testing easier. It adds a new > "make check" target which can be used to run all unit tests which are > currently in the tree. It also enables the unit tests by default, so > you don't have to re-run configure with a speci