Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Rakudo regex regression

Received: by 10.68.125.233 with SMTP id mt9mr4294974pbb.5.1331918103303;
        Fri, 16 Mar 2012 10:15:03 -0700 (PDT)
Newsgroups: perl.perl6.compiler
Path: h9ni33397pbe.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!nntp.develooper.com!nntp.perl.org
Return-Path: <n...@flirble.org>
Mailing-List: contact perl6-compiler-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-compi...@perl.org
Received: (qmail 3850 invoked from network); 16 Mar 2012 16:56:53 -0000
Received: from x1.develooper.com (207.171.7.70)
  by x6.develooper.com with SMTP; 16 Mar 2012 16:56:53 -0000
Received: (qmail 30202 invoked by uid 225); 16 Mar 2012 16:56:53 -0000
Delivered-To: perl6-compi...@perl.org
Received: (qmail 30198 invoked by alias); 16 Mar 2012 16:56:52 -0000
X-Spam-Status: No, hits=-4.2 required=8.0
	tests=BAYES_00,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: la.mx.develooper.com
Received: from plum.flirble.org (HELO plum.flirble.org) (195.99.220.128)
    by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 16 Mar 2012 09:56:49 -0700
Received: from nick by plum.flirble.org with local (Exim 4.75 (FreeBSD))
	(envelope-from <n...@flirble.org>)
	id 1S8aSL-00087K-1B
	for perl6-compi...@perl.org; Fri, 16 Mar 2012 16:56:45 +0000
Date: Fri, 16 Mar 2012 16:56:44 +0000
To: perl6-compi...@perl.org
Subject: Re: [perl #111796] Rakudo regex regression
Message-ID: <20120316165644.GF62757@plum.flirble.org>
Mail-Followup-To: perl6-compi...@perl.org
References: <RT-Ticket-111796@perl.org> <4F635375.9000706@faui2k3.org> <rt-3.6.HEAD-4610-1331909504-115.111796-82-0@perl.org>
Mime-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-4610-1331909504-115.111796-82-0@perl.org>
User-Agent: Mutt/1.4.2.3i
X-Organisation: Tetrachloromethane
Sender: Nicholas Clark <n...@flirble.org>
Approved: n...@nntp.perl.org
From: n...@ccl4.org (Nicholas Clark)
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Mar 16, 2012 at 07:51:44AM -0700, Moritz Lenz wrote:

> Somwhere between the 2012.02 release and 2012.02-180-g16bf0f4, test 253 
> in S05-mass/rx.t started to fail:
> 
> eval_dies_ok '/a|&b/', 'alternation and conjunction (|&) - parse error';
> 
> I have no idea what might caused it, but the proper fix probably 
> involves detecting Null Patterns.

Isn't this were a git bisect is a routine way to find out the cause?

(In that, it's proving a very powerful way to find the cause of regressions
in Perl 5 with minimal human effort, a fast machine, and a cup of tea*

And if git bisect on its own isn't easy enough, write a wrapper to automate
as much as possible. I wrote one for perl 5:

https://metacpan.org/module/CORION/perl-5.15.8/Porting/bisect-runner.pl

which tries to make it as easy as taking your failing 1 liner:

perl -e '... stuff that regressed ...'

and changing that to

.../Porting/bisect.pl -e '... stuff that regressed ...'


and off it goes.

No messing with git bisect start, git bisect run, having to make a wrapper
script, getting the build to build at that revision, getting the test case
round the wrong way, etc ...)


Nicholas Clark

* Or other source of amusement whilst the bisect runs for 15 to 30 minutes