All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: "Mark McLoughlin" <markmc@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	qemu-devel@nongnu.org, "Alexander Graf" <agraf@suse.de>,
	"Blue Swirl" <blauwirbel@gmail.com>,
	"Max Filippov" <jcmvbkbc@gmail.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Andreas Färber" <andreas.faerber@web.de>,
	"Hervé Poussineau" <hpoussin@reactos.org>,
	"Avi Kivity" <avi@redhat.com>,
	"Stefan Hajnoczi" <stefanha@linux.vnet.ibm.com>,
	"Stefano Stabellini" <stefano.stabellini@eu.citrix.com>,
	"Stefan Weil" <sw@weilnetz.de>,
	"Riku Voipio" <riku.voipio@iki.fi>,
	"Jan Kiszka" <jan.kiszka@web.de>,
	"Paul Brook" <paul@codesourcery.com>,
	"Daniel Gollub" <gollub@b1-systems.de>,
	"Luiz Capitulino" <lcapitulino@redhat.com>,
	"Venkateswararao Jujjuri (JV)" <jvrao@linux.vnet.ibm.com>,
	"Richard Henderson" <rth@twiddle.net>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Vassili Karpov (malc)" <av1474@comtv.ru>,
	"Marcelo Tosatti" <mtosatti@redhat.com>,
	"Michael Walle" <michael@walle.cc>,
	"Amit Shah" <amit.shah@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] Please read: make check framework
Date: Mon, 09 Jan 2012 21:00:20 +0100	[thread overview]
Message-ID: <4F0B4754.3040405@weilnetz.de> (raw)
In-Reply-To: <4F0B1016.2010600@us.ibm.com>

Am 09.01.2012 17:04, schrieb Anthony Liguori:
> Hi,
>
> I'm going to apply this series quickly and will start running 'make 
> check-quick' as part a sniff test before pushing patches.
>
> I'd like to request that all maintainers/submaintainers do the same 
> and that everyone contributes unit tests to this target.
>
> The general rules for 'make check-quick':
>
>  1) It must complete in less than 10 minutes start to finish (the 
> entire rule).  We can re-examine this over time but for now, it seems 
> like a reasonable limit.
>
>  2) It must gracefully degrade across architectures/targets.  Do not 
> assume qemu-system-x86_64 is present or that an arm cross compiler is 
> available.
>
> It would also be nice to get this integrated as part of buildbot. 
> Stefan/Daniel, is that something we can do?
>
> Regards,
>
> Anthony Liguori

Hi,

'make check-quick' sounds unusual for me. I'm not a native speaker,
so I compared the frequency of "check quick" and "quick check"
using Google. 'make quick-check' would sound better, but even
that is a Makefile target which I never saw before.

There is a standard for the commonly used 'make check'
(http://www.gnu.org/prep/standards/html_node/Standard-Targets.html).
I'd stick to that standard and allow users to select the tests
which should be run by Makefile macros. So

     make check-quick

could be replaced by

     make check TESTS=quick

Macro TESTS could be used to select a list of tests, for example
TESTS=tcg,block,pci or TESTS=mips,s390. The supported keywords
should be similar to the keywords used in MAINTAINERS. Then
committers or maintainers can select which tests are needed
for their commits. Other keywords like 'quick' or 'all' select
a predefined subset or all tests, and individual tests can be
specified by some kind of hierarchical name like for example
'pci/net/e1000'.

Regards,
Stefan Weil

  parent reply	other threads:[~2012-01-09 20:01 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09 15:56 [Qemu-devel] [PATCH 01/11] tests: mv tests/* -> tests/tcg Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 02/11] build: split unit test builds to a separate makefile fragment Anthony Liguori
2012-01-09 19:23   ` Andreas Färber
2012-01-09 19:38     ` Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest Anthony Liguori
2012-01-09 18:27   ` Luiz Capitulino
2012-01-09 19:15     ` Anthony Liguori
2012-01-09 19:37       ` Luiz Capitulino
2012-01-09 19:26   ` Andreas Färber
2012-01-09 19:39     ` Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 04/11] check-qfloat: " Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 05/11] check-qint: " Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 06/11] check-qstring: " Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 07/11] check-qlist: " Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 08/11] check-qjson: " Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 10/11] test: eliminate libcheck tests and have make check use gtester Anthony Liguori
2012-01-09 19:35   ` Andreas Färber
2012-01-10  9:17   ` Gerd Hoffmann
2012-01-10 13:10     ` Anthony Liguori
2012-01-09 15:56 ` [Qemu-devel] [PATCH 11/11] check: add a check-report and check-help target Anthony Liguori
2012-01-09 20:00   ` Andreas Färber
2012-01-09 16:04 ` [Qemu-devel] Please read: make check framework Anthony Liguori
2012-01-09 16:16   ` Avi Kivity
2012-01-09 16:28     ` Anthony Liguori
2012-01-09 16:47   ` Daniel Gollub
2012-01-09 17:47   ` Paul Brook
2012-01-09 19:28     ` Anthony Liguori
2012-01-09 20:57       ` Andreas Färber
2012-01-09 21:42         ` Anthony Liguori
2012-01-09 23:22           ` Andreas Färber
2012-01-09 23:56             ` Anthony Liguori
2012-01-10  9:57               ` Kevin Wolf
2012-01-10 13:11                 ` Anthony Liguori
2012-01-10 14:49               ` Andreas Färber
2012-01-10 15:39                 ` Peter Maydell
2012-01-09 20:00   ` Stefan Weil [this message]
2012-01-10  8:39   ` Stefan Hajnoczi
2012-01-10 13:21     ` Luiz Capitulino
2012-01-09 19:18 ` [Qemu-devel] [PATCH 01/11] tests: mv tests/* -> tests/tcg Andreas Färber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0B4754.3040405@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=amit.shah@redhat.com \
    --cc=andreas.faerber@web.de \
    --cc=armbru@redhat.com \
    --cc=aurelien@aurel32.net \
    --cc=av1474@comtv.ru \
    --cc=avi@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=gollub@b1-systems.de \
    --cc=hpoussin@reactos.org \
    --cc=jan.kiszka@web.de \
    --cc=jcmvbkbc@gmail.com \
    --cc=jvrao@linux.vnet.ibm.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=markmc@redhat.com \
    --cc=michael@walle.cc \
    --cc=mst@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=paul@codesourcery.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=rth@twiddle.net \
    --cc=stefanha@linux.vnet.ibm.com \
    --cc=stefano.stabellini@eu.citrix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.