From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18208 invoked by alias); 15 Jun 2016 18:02:56 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 18153 invoked by uid 89); 15 Jun 2016 18:02:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*co.uk, HX-HELO:sk:smtp-ou X-HELO: smtp-out-4.tiscali.co.uk Received: from smtp-out-4.tiscali.co.uk (HELO smtp-out-4.tiscali.co.uk) (62.24.135.132) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jun 2016 18:02:45 +0000 Received: from [192.168.1.3] ([79.68.221.80]) by smtp.talktalk.net with SMTP id DF9Bb6OfakTCODF9GbvQM3; Wed, 15 Jun 2016 19:02:42 +0100 Subject: Re: [ITP] gcovr: Coverage report generator To: cygwin-apps@cygwin.com References: <66990da2-00dc-1ff1-cbee-9ff2fa9f8957@tiscali.co.uk> <6502dc7f-56f6-6f46-222b-fc437ca94189@gmail.com> From: David Stacey Message-ID: Date: Wed, 15 Jun 2016 18:02:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <6502dc7f-56f6-6f46-222b-fc437ca94189@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCs3+CX/7yZq+/EJA9HOnLdTzY3usS+ukqUyV7Mxxhff1m7hsC0dFa5YNNrXE+U8r2WrbBZ2LpjuR2sodtzMv9dRjPfG8pdEnbvjJrBaxVQEfa0K7678 IHawRLmZKgTcxrQ4pkLzOjAs3Ra9xuxH27liqJOcsfL3YRRauCCWLJrJS3S13FBqOsFa3mx+HXNCkA== X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00067.txt.bz2 On 15/06/16 08:53, Marco Atzeri wrote: > On 15/06/2016 08:12, David Stacey wrote: >> gcovr is a Python script to generate reports from gcov. Found in Debian >> and Ubuntu [1]. >> >> >> # noarch: >> BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release >> >> wget --no-check-certificate --no-host-directories --force-directories >> --cut-dirs=5 \ >> ${BASEURL}/gcovr/gcovr-3.2-1-src.tar.xz \ >> ${BASEURL}/gcovr/gcovr-3.2-1.tar.xz \ >> ${BASEURL}/gcovr/setup.hint >> >> >> Test harness requires 'python-nose' and 'python-coverage' from Ports, >> plus 'python-pyutilib' below. All tests pass. These are only requireed >> to run the test harness; gcovr will build and run without these. >> > > are you sure that byte compiled is arch indipendent ? > > $ file usr/lib/python2.7/site-packages/gcovr/* > usr/lib/python2.7/site-packages/gcovr/__init__.py: ASCII text > usr/lib/python2.7/site-packages/gcovr/__init__.pyc: python 2.7 > byte-compiled > usr/lib/python2.7/site-packages/gcovr/__init__.pyo: python 2.7 > byte-compiled My understanding is that these byte-compiled files are architecture independent, but not Python version independent [1] [2]. Dave. [1] - https://docs.python.org/2.7/library/marshal.html [2] - https://osdir.com/ml/linux.redhat.fedora.extras.packaging/2006-07/msg00122.html