From patchwork Wed Jun 20 13:20:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 139341 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp795901lji; Wed, 20 Jun 2018 06:30:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI1vBzTbvow5m14TWXYWJIrbwXel5CDkUDruh7m4+No7B3VwdwdVjMlhIcdfaF/AquqZRcc X-Received: by 2002:ac8:1a13:: with SMTP id v19-v6mr18114776qtj.99.1529501430724; Wed, 20 Jun 2018 06:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529501430; cv=none; d=google.com; s=arc-20160816; b=au+4M5ZD3+zbjCm1i30s8loS8W9ByAwcbqfyaOCU1X+xgJpFlnlKFUHbpVGt6+cxT3 cFOEtk7XrznMrF+cpzNKrAs6Cx2ALf0/RA8m/uaRarJU4ZQT94XOAdCfW7DBnM393Wfg Qg/SBGixYcZu/BekPioZaDd2QJZYyw9wPhqwcKpCgXlPdPA31yscU7j82Lku7i7kU2pn 05pZfSbB8lasmDe+KEQtdU+YsLe5Yb8C2Tyo7txg3YkyHtJ3n5119bS+ULwt2kRb216H DC1eQto7M59k1/j7cmiHAqJt2xfaRP3sZtI1hmbfN6R7twQvPYnZ1jc+mpDguuRhjGJM CIZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=gIgbUK2fBQGW7ekPtBlXAL4um1NhJ9HA4ZfsnksaiAs=; b=NUAPiSph0aBMYAPeSjkumCUvSnHH0LSfjD2QsWCZseIliI/QOicOLtVBkRHIvR6TNc SGi/OnXW/KYRAlDIITmeHrCY3vPqt1Axo9V9vOyRCyHrUQWU9vFxbub5fHLTMqssR9MO 3/6lF/97bqON3PljZ3xIswsE+oJFrtjxnCHoe/bHd2J2jnAskti6vgwyvNEHXrRkmRdP /b9aLZMFjKMJ64JreV+xBZ2Fck6IVH3uCyM6FJWgTmrRiztnQhsmVHR31P/EJoY7Z/Hb sYPKN24EplFhbhKRf6PCOFPThuMbdUOaCplTkwAM/NNtnxOQL5nWSQXTvmBdp4PVuU2f 3P0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="WNAJ/dmc"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id m6-v6si2462336qtf.50.2018.06.20.06.30.30 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 20 Jun 2018 06:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="WNAJ/dmc"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVdBu-00080O-2I for patch@linaro.org; Wed, 20 Jun 2018 09:30:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVd2N-0007yB-Dw for qemu-devel@nongnu.org; Wed, 20 Jun 2018 09:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVd2L-0002kw-NE for qemu-devel@nongnu.org; Wed, 20 Jun 2018 09:20:39 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:37754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVd2L-0002kS-Fb for qemu-devel@nongnu.org; Wed, 20 Jun 2018 09:20:37 -0400 Received: by mail-wm0-x22f.google.com with SMTP id r125-v6so6890114wmg.2 for ; Wed, 20 Jun 2018 06:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gIgbUK2fBQGW7ekPtBlXAL4um1NhJ9HA4ZfsnksaiAs=; b=WNAJ/dmcl1p0/E9TegAVb+m7IIQH/CKHpavZjlhYeGEIWpL8Omy41UczKMzf1RawOt //OPfPEcno4jEBiU8GQD4vSIy7MopCwITIKejTECL4e6uvAuou+e2uWUMFyLQ72BHPsb 2pSgMwBHywdaLyHeP7EOHFqWitUorJF5e/ChM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gIgbUK2fBQGW7ekPtBlXAL4um1NhJ9HA4ZfsnksaiAs=; b=GoVgA2vzN28H9rlPdQg7pRmRQ702JpqUuzS9+JdE78tBFxuc7pvsVtYMWdPzeT5Zjw OIzXYpqJ+PtrA/oJBP8U4YUrWhAID2rXAAw4csdRIwmHVAcY0V+Ub/ohmdYe9hB79zMG 3QK6JwVClFpw/nBAps3itHeiuG9Rjo+OLrFCH9OQNSTY6o7/5+WKqvRfGxTCY+ofnhDR 5glLyeMKt1SLNpApGik3hnBOH0zcRSErw+NQNXZYd5xqNHZDY0YC9HBRuDvT6uWRr5b1 yhGEgaRopLC0MAC/1KU1MJPa1m10dYYx1TdpGf+lbXozuXL0swo9qF0oKN4BlyHI0eqk YgIA== X-Gm-Message-State: APt69E0TyMQ52u/Rpv9C6DVe9qFPIGboKLYeX0WP0QsZlOBr2p2Fju1P mwlWiNmNQ5RII0Knsbl6vcpYRw== X-Received: by 2002:a1c:3504:: with SMTP id c4-v6mr1628433wma.59.1529500836388; Wed, 20 Jun 2018 06:20:36 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c201-v6sm4080836wmh.18.2018.06.20.06.20.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 06:20:34 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 48D283E08C1; Wed, 20 Jun 2018 14:20:33 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Wed, 20 Jun 2018 14:20:30 +0100 Message-Id: <20180620132032.12952-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180620132032.12952-1-alex.bennee@linaro.org> References: <20180620132032.12952-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22f Subject: [Qemu-devel] [RFC PATCH 3/5] .travis.yml: add gcovr summary for GCOV build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This gives a more useful summary, sorted by descending % coverage, after the tests have run. The final numbers will give an idea if our coverage is getting better or worse. As quite a lot of lines don't get covered at all we filter out all the 0% lines. If the file doesn't appear it is not being exercised. Signed-off-by: Alex Bennée --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/.travis.yml b/.travis.yml index fabfe9ec34..83e0577464 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,7 @@ addons: - libvte-2.90-dev - sparse - uuid-dev + - gcovr # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu # to prevent IRC notifications from forks. This was created using: @@ -81,6 +82,8 @@ matrix: compiler: clang # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" + after_success: + - gcovr -p | grep -v "0%" | sed s/[0-9]\*[,-]//g compiler: gcc # We manually include builds which we disable "make check" for - env: CONFIG="--enable-debug --enable-tcg-interpreter"