Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74758 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2509 invoked from network); 5 Jun 2014 15:41:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2014 15:41:56 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.47 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.47 mail-qa0-f47.google.com Received: from [209.85.216.47] ([209.85.216.47:52345] helo=mail-qa0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/30-00879-1CF80935 for ; Thu, 05 Jun 2014 11:41:54 -0400 Received: by mail-qa0-f47.google.com with SMTP id s7so1605985qap.20 for ; Thu, 05 Jun 2014 08:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Omr4gfWZYpDFN4qvNCuUmCxWKcZyAmF0rZX8TDcNeAs=; b=rGy2YroWZ8mBG9HqNl5WlxafVg4B2JC98d13ZPHFPJerMzGRzagbNegkW2/N0tiszn 4pNNdsJ5DB+xhOoW2urQzfycZ3fJ7rGB6J+HXF7JzMKI0YXLcuzyf00xONO519+vUGZc WR1jUQiPKeZGSZpc41/aKiM/7eKVMFWIg8uaoSXpLMZ/jGMkA/iOvMC+oPoBRBhX6PlM TPi7waVWXVoyBEWopPxWXC9nL0rssEXz78KXKxLE8i5IlY1f20ieOXKknvvENWOTVny4 zH+Lj/DmicAiTZUX4xCOkywHXciVzNU22kGEm/VheY0q/w9+rqoIfVvtP3yRlFropTI0 5/Dw== MIME-Version: 1.0 X-Received: by 10.224.157.17 with SMTP id z17mr18472070qaw.72.1401982911243; Thu, 05 Jun 2014 08:41:51 -0700 (PDT) Received: by 10.140.17.77 with HTTP; Thu, 5 Jun 2014 08:41:51 -0700 (PDT) In-Reply-To: <53908257.2090702@php.net> References: <8C.E0.17294.AD860935@pb1.pair.com> <53908257.2090702@php.net> Date: Thu, 5 Jun 2014 17:41:51 +0200 Message-ID: To: Maciej Sobaczewski Cc: PHP Internals Content-Type: multipart/alternative; boundary=089e0149caa667e98304fb189556 Subject: Re: [PHP-DEV] tests code coverage for php 5.5 From: tyra3l@gmail.com (Ferenc Kovacs) --089e0149caa667e98304fb189556 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Jun 5, 2014 at 4:44 PM, Maciej Sobaczewski wrote: > On Thu, Jun 5, 2014 at 2:55 PM, Maciej Sobaczewski wrote: >> >> On Wed, Jun 4, 2014 at 10:06 PM, Nicolai Scheer < >>> nicolai.scheer@gmail.com> >>> >>>> wrote: >>>> >>>> Hi, >>>> >>>>> >>>>> looking for tasks to invest a little spare time in the weeks to come = I >>>>> had >>>>> a look at >>>>> >>>>> http://gcov.php.net/viewer.php?version=3DPHP_5_5 >>>>> >>>>> The test coverage is suspiciously low... >>>>> >>>>> Test coverage of 5.4 is quite high, so is coverage for 5.3. >>>>> >>>>> I would have guessed, that for a new major php version all tests from >>>>> the >>>>> previous version are reused, and fixed if needed. >>>>> >>>>> Looking at the 5.5 source tree all the phpt files seem in place... >>>>> Aren't >>>>> the tests just currently not executed on gcov.php.net? >>>>> >>>>> Thanks for any insight! >>>>> >>>>> Greetings >>>>> >>>>> Nico >>>>> >>>>> >>>>> Yeah, something is definitely wrong: >>>> http://gcov.php.net/PHP_5_4/lcov_html/ >>>> vs >>>> http://gcov.php.net/PHP_5_5/lcov_html/ >>>> >>>> and it we dates are correct, the last gcov build for 5.6 was more than= a >>>> week ago: >>>> http://gcov.php.net/ >>>> http://gcov.php.net/PHP_5_6/lcov_html/ >>>> >>>> ps: I've cc'ed Nuno as he is the man who knows our gcov setup. >>>> >>>> >>>> I will ask by the way. Aren't any parts duplicate of what we've got >>> with >>> travis/QA reports now? I mean statistics about passed/failed tests etc. >>> It >>> is probably good to have all such data in one place, but not when tools >>> are >>> not working properly. It also means two systems to maintain and in my >>> opinion leads to confusion as the results are not equal. >>> >>> Regards, >>> Maciej. >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >>> my idea with jenkins was to have everything in one place, so build and >> test >> php-src on multiple platforms(including windows) and also test userland >> projects with the resulting binaries and also have coverity reports (not >> for every commit, but periodically) but that was low prio, as gcov was >> already there: >> http://grokbase.com/p/php/php-internals/11btzq29x8/php-dev-ci-for-5-4 >> but stuff happen, and I never managed to finish what I was planning. >> having travis is a bit redundant, as it does less than what jenkins does >> (or can), and only supports linux with one distribution and only 64bit, >> but >> it doesn't really require any maintenance from our part and "just works" >> and also supports testing pull requests, which would require a bit more >> work on our part if we want to do that on our jenkins environment (not t= he >> PR building, but doing that in an isolated and secure way). >> > > Nice idea indeed. It would be good to have such tools in one place. > However, as far as I understand, it is abandoned now. > > > btw, I'm currently working on two pull request for our travis setup: one >> is >> for changing our current travis project from php to C, which saves some >> build time, as the travis box won't need to build php 5.4 which we doesn= 't >> use at all, and it will also mean that we will install our dependencies >> for >> ourselves explicitly instead of using those installed by default for the >> travis php 5.4. >> the other pull request is to do cross-compile 32bit builds on travis >> through ia32-libs. >> that would help us at least cover one platform/distro. >> >> > If we're currently focused on using travis ci maybe it would be good to a= t > least disable some duplicated functionalities from gcov.php.net? I'm not > certainly sure which have better and more up-to-date replacements now but= I > thought about: > - compile results > - test failures > - expected test failures > - valgrind > - skipped tests - not sure it has replacement, but it seems that gcov als= o > supports only one distro in 64x architecture, so it's not a big help > > What do you think? > > Greetings, > Maciej. > I think it makes sense to see the number of executed/skipped/failed/etc. tests with the coverage report as they are directly related (if you add more tests that usually increase the coverage, if you remove some, the coverage will also drop). Plus we didn't really had any complaints about having that (most people doesn't even know about gcov). --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --089e0149caa667e98304fb189556--