develooper Front page | perl.perl5.porters | Postings from February 2014

Perl-version compatibility of ext/B tests

Thread Next
Steffen Mueller
February 25, 2014 18:28
Perl-version compatibility of ext/B tests
Message ID:
Hi Reini, hi all,

Reini, I'm sending this to you specifically because you're the biggest 
user of Comments from others on the list are as welcome, though.

Currently, the tests in ext/B/t/* have a number of cases that check for 
perl versions to attempt to be portable across perl versions.

Does this even make sense? There's a reason why B is in ext/. It's very 
much NOT independent of the perl it runs against.

For the list/pushmark optimization, I'm faced with having to add big 
blocks of almost copy/pasted Concise output to make the tests pass OR I 
have to do something "clever". And not clever in the good way. So if I 
could instead just make B tests always work against the current version 
of perl, I'd be a much happier camper.

What do you think?

Best regards,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About