From patchwork Wed Jul 26 13:33:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 9864839 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 642A260382 for ; Wed, 26 Jul 2017 13:35:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70CDE28717 for ; Wed, 26 Jul 2017 13:35:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 654DE28758; Wed, 26 Jul 2017 13:35:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9E73028717 for ; Wed, 26 Jul 2017 13:35:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daMRQ-00074M-8J; Wed, 26 Jul 2017 13:33:32 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daMRO-00074C-E2 for xen-devel@lists.xenproject.org; Wed, 26 Jul 2017 13:33:30 +0000 Received: from [85.158.143.35] by server-2.bemta-6.messagelabs.com id 2F/D7-27137-92A98795; Wed, 26 Jul 2017 13:33:29 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNLMWRWlGSWpSXmKPExsXitHSDva7mrIp Ig3Ot4hbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8a9x9IF7dwVe5d3MzUwnubsYuTkkBDwl7h0 7Q8jiM0moCvRtOUvWxcjB4eIgIrE7b0GICazQKjEjheWIBXCAgES9799ZgKxWQRUJW429rOA2 LwCHhK7uyawQEyUkzh//CczSKuQgJrE3PXxECWCEidnPgErYRaQkDj44gXzBEbuWUhSs5CkFj AyrWLUKE4tKkst0jU21EsqykzPKMlNzMzRNTQw08tNLS5OTE/NSUwq1kvOz93ECAwCBiDYwdi 0KPAQoyQHk5Io7yTTikghvqT8lMqMxOKM+KLSnNTiQ4wyHBxKErwaM4FygkWp6akVaZk5wHCE SUtw8CiJ8PbOAErzFhck5hZnpkOkTjEac/yZsPULE8erCf+/MQmx5OXnpUqJ8xqBTBIAKc0oz YMbBIuTS4yyUsK8jECnCfEUpBblZpagyr9iFOdgVBLmjQSZwpOZVwK37xXQKUxAp8yZUQpySk kiQkqqgZHhuX5n3sejrTOuTJqziPHD9QPuUr5b/n1L6jpybeo9SX2PHkOXQ+bSSTzOq9MO3zp fKzp34RbVW30hwjKcdmazfPdefNrilvx99fX8HedOxNi0rFiv3V6Us6t4zcl/xto9eZuWiOVM ej/HS/aMak/YKd8ujgjlsL+PFCb3+KQcDOfeyJFvLaTEUpyRaKjFXFScCADZD4m1jgIAAA== X-Env-Sender: prvs=373dc6e33=Ian.Jackson@citrix.com X-Msg-Ref: server-6.tower-21.messagelabs.com!1501076007!51989388!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 62203 invoked from network); 26 Jul 2017 13:33:29 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-6.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 26 Jul 2017 13:33:29 -0000 X-IronPort-AV: E=Sophos;i="5.40,415,1496102400"; d="scan'208";a="441399342" From: Ian Jackson To: Date: Wed, 26 Jul 2017 14:33:11 +0100 Message-ID: <1501075992-2476-1-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH 1/2] coverity: Parameterise CoverityToolsStripComponents X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP No functional change with current production-config. (In fact, this needs to be 2 for cov-analysis-linux64-2017.07.tar.gz) Reported-by: Wei Liu Signed-off-by: Ian Jackson Reviewed-by: Wei Liu --- production-config | 1 + ts-coverity-build | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/production-config b/production-config index 1bc56d8..bc961e6 100644 --- a/production-config +++ b/production-config @@ -115,6 +115,7 @@ CoverityEmail security@xen.org # gets the default/dummy path CoverityUploadUrl https://scan.coverity.com/builds?project=XenProject CoverityTools cov-analysis-linux64-2017.07.tar.gz +CoverityToolsStripComponents 1 # We use the IP address because Citrix can't manage reliable nameservice #DebianMirrorHost debian.uk.xensource.com diff --git a/ts-coverity-build b/ts-coverity-build index 6e29102..dc6320a 100755 --- a/ts-coverity-build +++ b/ts-coverity-build @@ -37,12 +37,14 @@ sub checkout () { sub covtools () { target_putfile($ho, 100, "$c{Images}/$c{CoverityTools}", "$builddir/covtools.tar.gz"); + my $strip = $c{CoverityToolsStripComponents} // 0; + $strip = $strip ? "--strip-components=$strip" : ''; target_cmd($ho, <