From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwPux-0005B1-LQ for qemu-devel@nongnu.org; Sun, 06 Mar 2011 21:11:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwPuw-0007kr-L3 for qemu-devel@nongnu.org; Sun, 06 Mar 2011 21:11:27 -0500 Received: from mail-qy0-f173.google.com ([209.85.216.173]:62144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwPuw-0007jG-Gr for qemu-devel@nongnu.org; Sun, 06 Mar 2011 21:11:26 -0500 Received: by qyk36 with SMTP id 36so2169214qyk.4 for ; Sun, 06 Mar 2011 18:11:25 -0800 (PST) Message-ID: <4D743EC9.8040607@codemonkey.ws> Date: Sun, 06 Mar 2011 20:11:21 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 22/22] qapi: generate HTML report for test-libqmp References: <1299460984-15849-1-git-send-email-aliguori@us.ibm.com> <1299460984-15849-23-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1299460984-15849-23-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Luiz Capitulino , qemu-devel@nongnu.org, Markus Armbruster On 03/06/2011 07:23 PM, Anthony Liguori wrote: > Signed-off-by: Anthony Liguori > For an example of how this looks when we've got more test cases with an artificial failure injected: http://www.codemonkey.ws/files/test-report.html Regards, Anthony Liguori > diff --git a/Makefile b/Makefile > index 1d363d7..c5a4820 100644 > --- a/Makefile > +++ b/Makefile > @@ -216,6 +216,15 @@ LIBQMP_OBJS += $(oslib-obj-y) $(trace-obj-y) qemu-malloc.o > > test-libqmp: test-libqmp.o $(LIBQMP_OBJS) qemu-timer-common.o > > +check: test-libqmp > + $(call quiet-command, ./test-libqmp, " CHECK $@") > + > +test-report.html: test-report.log > + $(call quiet-command, gtester-report $< > $@, " GEN $@") > + > +test-report.log: test-libqmp > + $(call quiet-command, gtester -k -o $@ ./test-libqmp 2>/dev/null>/dev/null || true, " TEST $<") > + > clean: > # avoid old build problems by removing potentially incorrect old files > rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h >