perl-qa
[Top] [All Lists]

Re: designing a test suite for multiple implementations

To: p6l <perl6-language@perl.org>, p6c <perl6-compiler@perl.org>, Perl QA <perl-qa@perl.org>
Subject: Re: designing a test suite for multiple implementations
From: Larry Wall <larry@wall.org>
Date: Sat, 12 Aug 2006 09:05:26 -0700
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org tests=BAYES_00,FORGED_RCVD_HELO,UNPARSEABLE_RELAY
Delivered-to: mailing list perl6-language@perl.org
Delivered-to: perl6-language@perl.org
In-reply-to: <20060812073022.GB25905@sike.forum2.org>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-language.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>
Mail-followup-to: p6l <perl6-language@perl.org>, p6c <perl6-compiler@perl.org>, Perl QA <perl-qa@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <1d9a3f400608111201q72189bf7sf990bfb476bd6717@mail.gmail.com> <c711ff240608112306i1515d693p632c4c015b7da588@mail.gmail.com> <20060812073022.GB25905@sike.forum2.org>
Reply-to: perl6-compiler@perl.org
User-agent: Mutt/1.4.2.1i
[Time to stop spamming multiple lists.  Followups to p6c for bikeshedding.]

On Sat, Aug 12, 2006 at 10:30:22AM +0300, Gaal Yahas wrote:
: 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

That seems excessively...noisy.  Maybe something more like:

    %?COMPILER          pugs => 6.2.12
    %?COMPILER.key      pugs
    %?COMPILER.value    6.2.12

or just a simple 

    %?COMP           pugs
    %?COMP_VERSION   6.2.12

or something OOey like

    %?COMP.name      pugs
    %?COMP.version   6.2.12

Getting rid of a %?CONFIG hash was half the motivation for $? vars
in the first place.

In any event "versnum" sounds like "verse number" to people like me.

Larry


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