From patchwork Mon Mar 7 01:23:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 85630 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8034EB7104 for ; Mon, 7 Mar 2011 12:48:51 +1100 (EST) Received: from localhost ([127.0.0.1]:45979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwPW6-0001WM-Cy for incoming@patchwork.ozlabs.org; Sun, 06 Mar 2011 20:45:46 -0500 Received: from [140.186.70.92] (port=47624 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwPAb-0007Zf-QL for qemu-devel@nongnu.org; Sun, 06 Mar 2011 20:23:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwPAa-0000Rs-C4 for qemu-devel@nongnu.org; Sun, 06 Mar 2011 20:23:33 -0500 Received: from e6.ny.us.ibm.com ([32.97.182.146]:43949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwPAa-0000Ro-9R for qemu-devel@nongnu.org; Sun, 06 Mar 2011 20:23:32 -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 p270xFeJ010696 for ; Sun, 6 Mar 2011 19:59:15 -0500 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id F229E6E8036 for ; Sun, 6 Mar 2011 20:23:31 -0500 (EST) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p271NVKF222040 for ; Sun, 6 Mar 2011 20:23:31 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p271NVQH021238 for ; Sun, 6 Mar 2011 20:23:31 -0500 Received: from localhost.localdomain (sig-9-65-217-198.mts.ibm.com [9.65.217.198]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p271N9Md020370; Sun, 6 Mar 2011 20:23:30 -0500 From: Anthony Liguori To: qemu-devel@nongnu.org Date: Sun, 6 Mar 2011 19:23:04 -0600 Message-Id: <1299460984-15849-23-git-send-email-aliguori@us.ibm.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1299460984-15849-1-git-send-email-aliguori@us.ibm.com> References: <1299460984-15849-1-git-send-email-aliguori@us.ibm.com> X-Content-Scanned: Fidelis XPS MAILER X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 32.97.182.146 Cc: Adam Litke , Anthony Liguori , Markus Armbruster , Luiz Capitulino Subject: [Qemu-devel] [PATCH 22/22] qapi: generate HTML report for test-libqmp X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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