develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128747] base/lex test 41 failure under "make minitest" insome platforms

Thread Previous
From:
Jarkko Hietaniemi
Date:
July 27, 2016 11:45
Subject:
[perl #128747] base/lex test 41 failure under "make minitest" insome platforms
Message ID:
rt-4.0.18-9605-1469619883-1984.128747-75-0@perl.org
# New Ticket Created by  Jarkko Hietaniemi 
# Please include the string:  [perl #128747]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128747 >


This one test in line 191 of t/base/lex.t
                                   
        T('^main:\(eval \d+\):6$', $test++);                                    

fails in some (not all) platforms under "make minitest" like this

...
t/base/lex ..................... FAILED at test 41
Failed a basic test (base/lex.t) under minitest -- cannot continue.

(all other tests in the file pass) or if run explicitly like this:

(cd t && ./perl -Ilib TEST -v base/lex.t)
...
ok 40
# main:(eval 7):4 vs /^main:\(eval \d+\):6$/
not ok 41
FAILED at test 41
Failed a basic test (base/lex.t) under minitest -- cannot continue.

So the difference is two source code lines.

What is mystifying is two things:

(1) the test fails only on a seemingly random selection of platforms: AIX 5 on PPC, Debian on PPC, and Solaris on Sparc.  While passing fine on e.g. Solaris on x86, and Ubuntu on x86.  [*]

(2) the test has been there from time immemorial (Sarathy) -- so something recentish on the lexer/parser?  I know for a fact that some months ago the test must have been passing, I just haven't done a wide testing recently.

[*] The CPU is a red herring, I hope. It just reflects the selection of platforms I have access to.  I hope.
 


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About