perl-qa
[Top] [All Lists]

Re: designing a test suite for multiple implementations

To: Agent Zhang <agentzh@gmail.com>
Subject: Re: designing a test suite for multiple implementations
From: Gaal Yahas <gaal@forum2.org>
Date: Sat, 12 Aug 2006 10:30:22 +0300
Cc: jerry gay <jerry.gay@gmail.com>, p6l <perl6-language@perl.org>, p6c <perl6-compiler@perl.org>, p2 <parrot-porters@perl.org>, Perl QA <perl-qa@perl.org>
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org tests=ALL_TRUSTED,BAYES_00
Delivered-to: mailing list perl6-compiler@perl.org
Delivered-to: perl6-compiler@perl.org
In-reply-to: <c711ff240608112306i1515d693p632c4c015b7da588@mail.gmail.com>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-compiler.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <1d9a3f400608111201q72189bf7sf990bfb476bd6717@mail.gmail.com> <c711ff240608112306i1515d693p632c4c015b7da588@mail.gmail.com>
User-agent: Mutt/1.5.12-2006-07-14
On Sat, Aug 12, 2006 at 02:06:27PM +0800, Agent Zhang wrote:
>    is $got, $expected, todo :pugs<6.2.13>, :p6p5<0.110>;
> 
> Happily, Audrey has already implemented the $?PUGS_VERSION variable,
> which can ease the implementation of such &todo subs:

I've added a %?CONFIG<perl_compiler> variable which I propose
each implementation support. Pugs says 'pugs'. Also, there's a
%?CONFIG<pugs_versnum> so there's no need to parse $?PUGS_VERSION.

pugs> %?CONFIG{%?CONFIG<perl_compiler> ~ <_versnum>}
6.2.12

-- 
Gaal Yahas <gaal@forum2.org>
http://gaal.livejournal.com/


<Prev in Thread] Current Thread [Next in Thread>