Re: Perl6 spec test suite

2008-01-16 Thread Larry Wall
On Wed, Jan 16, 2008 at 09:18:17AM -0800, Larry Wall wrote: : We could reserve all the is_* isnt_* ok_* names for that, I suppose. I've gone ahead and done that. Let me also reiterate here in public the basic underlying premise that "fudge" is only for fudging the tests, and a truly passing test

Re: Perl6 spec test suite

2008-01-16 Thread Larry Wall
On Wed, Jan 16, 2008 at 05:38:32AM -0600, Patrick R. Michaud wrote: : Nice. What about the cases where a test file defines its own local : wrapper functions to is, isnt, like, etc.? For example, Pugs' : t/builtins/math/sqrt.t has: : : sub is_approx (Num $is, Num $expected, Str $descr) { :

Re: Perl6 spec test suite

2008-01-16 Thread Patrick R. Michaud
On Tue, Jan 15, 2008 at 11:16:57PM -0800, Larry Wall wrote: > On Sun, Jan 13, 2008 at 11:22:44PM -0600, Patrick R. Michaud wrote: > : Larry, Jerry, and I discussed this a couple of weeks ago > : and here's my vision for how it should work. To simplify > : things, let's break it into two parts: (1

Re: Perl6 spec test suite

2008-01-15 Thread Larry Wall
On Sun, Jan 13, 2008 at 11:22:44PM -0600, Patrick R. Michaud wrote: : On Sun, Jan 13, 2008 at 11:35:17PM +0100, Cosimo Streppone wrote: : > - Is [1] the correct way of declaring "todo" tests? : > What's the equivalent in new compiler directives : > of `:todo', `:todo', and ':todo'? : > [1] t/sp

Re: Perl6 spec test suite

2008-01-13 Thread Patrick R. Michaud
On Sun, Jan 13, 2008 at 11:35:17PM +0100, Cosimo Streppone wrote: > - Are smartlinks "stackable?" > That is, can I refer the same code to multiple links? > http://perlsix.org/svn/pugs/revision?rev=19471 According to the documentation in smartlinks.pl, they are. See http://svn.pugscode.org/pugs

Re: Perl6 spec test suite

2008-01-13 Thread Agent Zhang
On Jan 14, 2008 6:35 AM, Cosimo Streppone <[EMAIL PROTECTED]> wrote: > > - Are smartlinks "stackable?" > That is, can I refer the same code to multiple links? > http://perlsix.org/svn/pugs/revision?rev=19471 > Yes, sure you can :) From util/smartlinks.pl's POD: Multiple adjacent smartlink

Perl6 spec test suite

2008-01-13 Thread Cosimo Streppone
Hi all, I'm working on refactoring the perl6 spec test suite. I have some doubts that probably some of you can clarify. - Are smartlinks "stackable?" That is, can I refer the same code to multiple links? http://perlsix.org/svn/pugs/revision?rev=19471 - Is [1] the correct w