On Thu, 26 Sep 2002, Andy Dougherty wrote:

> On Thu, 26 Sep 2002, Dan Sugalski wrote:
>
> > At 5:05 PM +0200 9/26/02, H.Merijn Brand wrote:
> > >
> > >perl t/harness
> > >t/builtins/array.....Can't bless non-reference value at
> > >../../assemble.pl line 163.
> >
> > Hrm. What version of perl are you running?
>
> Doesn't matter (within reason).  It's a 'make test' bug.  Specifically,
>
>       cd languages/perl6 && make test
>
> fails, but
>
>       cd languages/perl6 && ./perl6 --test
>
> might succeed.
>
> I suspect it's actually an imcc calling-convention problem -- I see a
> generated a.pasm file in my perl6 directory, but all of the t/*/*.pasm
> files are empty.

Sounds likely (Quick fix: change the makefile to use ./perl6 --test ;).

> though perhaps a patch to assemble.pl to detect an empty .pasm file and
> give a better warning would be in order.

Probably.  Though if we go in the "imcc generates bytecode" direction,
assemble.pl can be mercifully laid to rest for P6C's purposes.

> 'make test' ought to work.

Yes.

> It ought to automatically handle any Perl6Grammar regenerations
> needed.

This is a red herring for the problem you're seeing (though it is true
that Perl6grammar.pm isn't automatically regenerated unless it doesn't
exist).

/s

Reply via email to