I'd like to help write some test cases for Perl6 to deliver on that part of this group's charter.
I'm having problems getting Perl 6 working, and I'd like help. This may be off-charter for this group, but there's hardly a better place, and the info is probably generally useful to others also seeking to create tests (nudge nudge). The head of the tree won't compile for me (dod.c:508: undefined reference to `flush_register_windows'), but RELEASE_0_0_8 will (as described below). The perl6 test harness is failing for me though. So, starting with a blank directory, I: cvs -d :pserver:[EMAIL PROTECTED]:/cvs/public login [return for blank password] cvs -d :pserver:[EMAIL PROTECTED]:/cvs/public checkout -r RELEASE_0_0_8 parrot cd parrot perl Configure.PL make Everything through this point works ok, as far as I can tell. I get a functional parrot binary in the top directory and a make test goes off its merry way passing all the basic and jako tests. Harness output: All tests successful, 5 subtests skipped. Files=26, Tests=433, 579 wallclock secs (440.29 cusr + 34.98 csys = 475.27 CPU) So I proceed to try to play with perl6: cd languages/perl6 make and it proceeds to go into the imcc, classes, and doc directories to make and I end up with a blib/lib/libparrot.a. Still no errors. So I try a 'make test', and I get: -- begin -- -> make test /usr/bin/perl t/harness t/compiler/1...........Can't bless non-reference value at ../../assemble.pl line 163. # Failed test (t/compiler/1.t at line 7) # got: 'Parrot VM: Can't stat t/compiler/1_1.pbc, code 2. # ' # expected: 'Hello, world # ' t/compiler/1...........NOK 1Can't bless non-reference value at ../../assemble.pl line 163. # Failed test (t/compiler/1.t at line 16) # got: 'Parrot VM: Can't stat t/compiler/1_2.pbc, code 2. # ' # expected: '5 # -1 # 6 # 3.000000 # 2 # 23 # 8.000000 # 8.000000 # 2.000000 # 0.500000 # ' t/compiler/1...........NOK 2 -- end -- In languages/perl6/t/compiler/1_1.err, I get: Can't find loader Parrot_DynOp_core_0_0_7: ../imcc/imcc: undefined symbol: Parrot_DynOp_core_0_0_7 which is suspicious for the 0_0_7 when I actually checked out 0_0_8. For kicks, I rebuilt the Perl6 grammer via './perl6 --force-grammar', and that works. If I manually feed some code to perl6 (cat examples/life-ar.p6 | ./perl6), it produces a reasonable 'a.imc' file . I've tried deconstructing the perl6 Makefile and run the steps individually but everything has broken in ways that make me think I'm missing something more fundamental. I'll try this procedure again when 0.0.9 comes out soon, but this is more likely my problem. Suggestions? -- [EMAIL PROTECTED] http://www.geekcode.com/geek.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/B d s:++>+ a- C++(++++)$ USL++++ P+++ L+++ E++(+++) W++++ N- !o !K w !O M V PS+++(-) PE++(--) Y+ PGP>++ t@ 5 X+ R>+ tv++>-- b>++ DI+ D- G e++ h- r++>+++ y+++ ------END GEEK CODE BLOCK------