From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54733 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyBPS-0004IP-Vw for qemu-devel@nongnu.org; Fri, 11 Mar 2011 18:06:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyBPR-0006zS-OR for qemu-devel@nongnu.org; Fri, 11 Mar 2011 18:06:14 -0500 Received: from e6.ny.us.ibm.com ([32.97.182.146]:47245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyBPR-0006zL-M5 for qemu-devel@nongnu.org; Fri, 11 Mar 2011 18:06:13 -0500 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [9.56.224.85]) by e6.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p2BMfuZr004917 for ; Fri, 11 Mar 2011 17:41:56 -0500 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 685A06E8039 for ; Fri, 11 Mar 2011 18:06:13 -0500 (EST) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p2BN6AOS1626362 for ; Fri, 11 Mar 2011 18:06:10 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p2BN6AdH028515 for ; Fri, 11 Mar 2011 18:06:10 -0500 From: Anthony Liguori Date: Fri, 11 Mar 2011 17:05:45 -0600 Message-Id: <1299884745-521-16-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1299884745-521-1-git-send-email-aliguori@us.ibm.com> References: <1299884745-521-1-git-send-email-aliguori@us.ibm.com> Subject: [Qemu-devel] [PATCH 15/15] qapi: generate HTML report for test-libqmp List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Adam Litke , Anthony Liguori , Luiz Capitulino , Avi Kivity , Markus Armbruster Signed-off-by: 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 -- 1.7.0.4