From patchwork Mon Jun 25 11:19:25 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: 934189 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="FSSsqux1"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41DmyF6n36z9ry1 for ; Mon, 25 Jun 2018 21:23:33 +1000 (AEST) Received: from localhost ([::1]:45552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXPal-0007Nm-JD for incoming@patchwork.ozlabs.org; Mon, 25 Jun 2018 07:23:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXPX4-0004wp-JG for qemu-devel@nongnu.org; Mon, 25 Jun 2018 07:19:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXPX0-0008BX-JV for qemu-devel@nongnu.org; Mon, 25 Jun 2018 07:19:42 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:44683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXPX0-0008B6-D1 for qemu-devel@nongnu.org; Mon, 25 Jun 2018 07:19:38 -0400 Received: by mail-wr0-x236.google.com with SMTP id p12-v6so11630127wrn.11 for ; Mon, 25 Jun 2018 04:19:38 -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:mime-version :content-transfer-encoding; bh=+z5is3wjphC26Z3UNwMWjZT5NThIwlD41zeay5cEB+M=; b=FSSsqux1t2CP3GbeDu/1YKefbp7LjVTNGCdQSc1tY+XdzL5MH3eq2MNlKcrvWTtv0W c2wy9Q94MW/g/Zn7PNuFkeKk5o0yzZVuXaIiwEhbtgaEk1EP7pUgen9KHD/p/Pjq3bEW L6KKUyvJDI6PQ2/c95qldaIAi1el22AiJhol8= 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:mime-version :content-transfer-encoding; bh=+z5is3wjphC26Z3UNwMWjZT5NThIwlD41zeay5cEB+M=; b=mQHomvy27urdWT6lcN2nZ+DF8oH7iUhCCJQ4R40ldRcII06SeV8LBYYSYNxUBpxnF6 qc4yvUPzTX4j0waD+czpxwBexNjHFXY84f2SSZllf0gOhMxoH/1wFmRJju0pwl7T1fAd fOvYGKnZK5G2jjjUd/t8MWKv/L6t31JyeFfizYbzo4MgDYOYyYqOPKFBMFLTKuMNcz/k kNrheEG0PlxQa6Og+NegMU1xiDuR05RbNqxfvqCdl6mN83+h4PMqdXVtKA1yRS51yzvD PSuRCPzQicS8WWmNKZF3mzJcFsV1g7VD0hZ+xKnwPjdFU/2MZz/23+EzFZqYQ7LucLAN ckoQ== X-Gm-Message-State: APt69E2hbkVUheWYhQGIkS3A3fS5Y5Zhi1JzXbmcy0ynoWWU0OHPNlJq B8kRqKX+P7K8RysgAFt0mwcUHg== X-Google-Smtp-Source: AAOMgpf5bU6P4OylBIVWB9PlqvVu3Jst/tWMSKDW/lLdzrqygB/ZvquokNnoXhF5uMZ+WMcFaakQdg== X-Received: by 2002:adf:ff09:: with SMTP id k9-v6mr10610502wrr.15.1529925577053; Mon, 25 Jun 2018 04:19:37 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b6-v6sm9507362wro.52.2018.06.25.04.19.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 04:19:36 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id DE6EA3E084C; Mon, 25 Jun 2018 12:19:35 +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: Mon, 25 Jun 2018 12:19:25 +0100 Message-Id: <20180625111935.26108-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::236 Subject: [Qemu-devel] [PATCH v1 00/10] Travis updates and code coverage tweaks 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The main changes since last weeks RFC are that I ended up doing more furtling than I wanted to make the Travis coverage report sane. Rather than mess around with .travis.yml I pushed this all into a script. I also got to the bottom of the missing coverage reports under linux-user. It seems as though our exit path can not trigger the coverage dump so we need to do it ourselves. As we have similar hacks for GPROF and the gdbstub I ended up putting this is a new helper function. The new file might be overkill though but I didn't want to jam the helper in our already oversized main file. Maybe the syscalls can move across later? The Travis updates from Philippe are simple clean-ups including being able to drop the silly wget pre-seed hack in favour of a limited submodule checkout. Anyway comments welcome. Alex Bennée (8): build-system: remove per-test GCOV reporting .gitignore: add .gcov files docker: add gcovr to travis image travis: add gcovr summary for GCOV build build-system: add clean-coverage target build-system: add coverage-report target linux-user: introduce preexit_cleanup linux-user: add gcov support to preexit_cleanup Philippe Mathieu-Daudé (2): travis: do not waste time cloning unused submodules travis: test out-of-tree builds .gitignore | 1 + .travis.yml | 14 ++++++++--- Makefile | 24 ++++++++++++++++++ docs/devel/testing.rst | 21 +++++++++++----- linux-user/Makefile.objs | 2 +- linux-user/exit.c | 35 ++++++++++++++++++++++++++ linux-user/qemu.h | 8 ++++++ linux-user/syscall.c | 10 ++------ scripts/coverage-summary.sh | 27 ++++++++++++++++++++ tests/Makefile.include | 10 -------- tests/docker/dockerfiles/travis.docker | 2 +- 11 files changed, 125 insertions(+), 29 deletions(-) create mode 100644 linux-user/exit.c create mode 100755 scripts/coverage-summary.sh