Test failures and TODO passes summary for Linux AMD64 (Kubuntu Intrepid) at r37267 In this report I have included test failures and test summaries with TODO passes. ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ make realclean mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:17:04 GMT 2009 mhk64@mhk64-desktop:~/parrot$ svn up At revision 37267. mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:17:27 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl Configure.pl --optimize --test --configure_trace pre config tests: All tests successful. Files=124, Tests=2887, 31 wallclock secs ( 1.14 usr 0.38 sys + 21.00 cusr 5.79 csys = 28.31 CPU) Result: PASS post config tests: All tests successful. Files=38, Tests=1042, 35 wallclock secs ( 0.42 usr 0.18 sys + 29.55 cusr 1.90 csys = 32.05 CPU) Result: PASS mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:19:46 GMT 2009 mhk64@mhk64-desktop:~/parrot$ make world mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:25:06 GMT 2009 mhk64@mhk64-desktop:~/parrot$ make html make -C docs html make[1]: Entering directory `/home/mhk64/parrot/docs' /usr/bin/perl -I../lib ../tools/docs/write_docs.pl --silent --version=0.9.1-devel make[1]: Leaving directory `/home/mhk64/parrot/docs' mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:25:40 GMT 2009 mhk64@mhk64-desktop:~/parrot$ make smoke All tests successful. Test Summary Report ------------------- t/pmc/exception.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 30 Files=396, Tests=11740, 366 wallclock secs ( 4.59 usr 1.57 sys + 125.47 cusr 55.31 csys = 186.94 CPU) Result: PASS TAP Archive created at /home/mhk64/parrot/parrot_test_run.tar.gz Test report successfully sent to Smolder at http://smolder.plusthree.com/app/public_projects/report_details/18823 You can see other recent reports at http://smolder.plusthree.com/app/public_projects/smoke_reports/8 . ----------------------------------------------------------------------- Because make fulltest exits with failure I ran the tests manually: ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:43:27 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test -b --runcore-tests All tests successful. Test Summary Report ------------------- t/compilers/imcc/syn/hll.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 t/op/exceptions.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 23 t/pmc/exception.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 26, 30 Files=252, Tests=8393, 306 wallclock secs ( 3.68 usr 0.76 sys + 86.83 cusr 42.38 csys = 133.65 CPU) Result: PASS ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:51:54 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test -C --runcore-tests All tests successful. Test Summary Report ------------------- t/compilers/imcc/syn/hll.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 t/op/exceptions.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 23 t/pmc/exception.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 26, 30 Files=252, Tests=8393, 307 wallclock secs ( 3.65 usr 1.00 sys + 86.86 cusr 43.21 csys = 134.72 CPU) Result: PASS ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 10:58:03 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test -f --runcore-tests All tests successful. Test Summary Report ------------------- t/compilers/imcc/syn/hll.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 t/op/exceptions.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 23 t/pmc/exception.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 26, 30 Files=252, Tests=8393, 308 wallclock secs ( 4.01 usr 0.81 sys + 86.53 cusr 43.39 csys = 134.74 CPU) Result: PASS ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:06:05 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test -g --runcore-tests All tests successful. Test Summary Report ------------------- t/compilers/imcc/syn/hll.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 t/op/exceptions.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 23 t/pmc/exception.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 26, 30 Files=252, Tests=8393, 301 wallclock secs ( 3.52 usr 0.94 sys + 87.17 cusr 43.96 csys = 135.59 CPU) Result: PASS ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:11:45 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test -r --runcore-tests t/op/pushaction.t ...................... 4/7 # Failed test 'pushaction as closure' # at t/op/pushaction.t line 100. # Exited with error code: 1 # Received: # main # at popmark, flag = 0 # a = Null PMC in say # current instr.: 'exit_handler' pc 32 (/home/mhk64/parrot/t/op/pushaction_6.pir:22) # called from Sub 'main' pc 15 (/home/mhk64/parrot/t/op/pushaction_6.pir:11) # # Expected: # main # at popmark, flag = 0 # a = 42 # not ok 7 - pushaction: error while handling error # TODO runloop shenanigans # Looks like you failed 1 test of 7. t/op/pushaction.t ...................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/pmc/packfile.t ....................... 4/6 # Failed test 'set_integer_keyed_str' # at t/pmc/packfile.t line 142. # Exited with error code: 134 # Received: # Aborted # # Expected: # not equal # # Looks like you failed 1 test of 6. t/pmc/packfile.t ....................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests t/pmc/sub.t ............................ 60/64 # Failed test ':outer with identical sub names' # at t/pmc/sub.t line 1457. # Exited with error code: 1 # Received: # ABC::outer # ABC::inner # Null PMC in say # current instr.: 'parrot;ABC;inner' pc 47 (/home/mhk64/parrot/t/pmc/sub_63.pir:20) # called from Sub 'parrot;ABC;outer' pc 37 (/home/mhk64/parrot/t/pmc/sub_63.pir:14) # called from Sub 'main' pc 9 (/home/mhk64/parrot/t/pmc/sub_63.pir:3) # # Expected: # ABC::outer # ABC::inner # ABC lex # DEF::outer # DEF::inner # DEF lex # # Looks like you failed 1 test of 64. t/pmc/sub.t ............................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/64 subtests Test Summary Report ------------------- t/op/pushaction.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 6 Non-zero exit status: 1 t/pmc/packfile.t (Wstat: 256 Tests: 6 Failed: 1) Failed test: 6 Non-zero exit status: 1 t/pmc/sub.t (Wstat: 256 Tests: 64 Failed: 1) Failed test: 63 Non-zero exit status: 1 Files=252, Tests=8393, 358 wallclock secs ( 4.25 usr 0.85 sys + 115.25 cusr 68.72 csys = 189.07 CPU) Result: FAIL **************************************** I don't know if anyone else is getting the t/pmc/packfile.t failure. I have had problems with this before. see TT#412 **************************************** ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:21:08 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test -S --runcore-tests All tests successful. Test Summary Report ------------------- t/compilers/imcc/syn/hll.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 t/op/exceptions.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 23 t/pmc/exception.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 26, 30 Files=252, Tests=8094, 301 wallclock secs ( 3.67 usr 1.12 sys + 84.54 cusr 38.83 csys = 128.16 CPU) Result: PASS ----------------------------------------------------------------------- make src_tests, make run_tests and make perl_tests were all successful ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:28:23 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test --code-tests t/distro/file_metadata.t ....... # Collecting svn:mime-type attributes... t/distro/file_metadata.t ....... 1/5 # Collecting svn:keywords attributes... t/distro/file_metadata.t ....... 3/5 # Failed test 'svn:keywords' # at t/distro/file_metadata.t line 131. # got: 'Set svn:keywords with: # svn ps svn:keywords "Author Date Id Revision" examples/pir/befunge/Makefile # ' # expected: '' # Collecting svn:eol-style attributes... t/distro/file_metadata.t ....... 4/5 # Collecting svn:eol-style attributes... # Looks like you failed 1 test of 5. t/distro/file_metadata.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests t/codingstd/perlcritic.t ....... 269/307 # Failed test 'Test::Perl::Critic for "/home/mhk64/parrot/tools/dev/install_files.pl"' # at t/codingstd/perlcritic.t line 88. # # Perl::Critic found these violations in "/home/mhk64/parrot/tools/dev/install_files.pl": # Flag comment 'TODO' found at /home/mhk64/parrot/tools/dev/install_files.pl line 198 t/codingstd/perlcritic.t ....... 307/307 # Looks like you failed 1 test of 307. t/codingstd/perlcritic.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/307 subtests t/codingstd/pir_code_coda.t .... ok t/codingstd/pod_syntax.t ....... 1/2 Finding files with POD, this may take a minute. t/codingstd/pod_syntax.t ....... 2/2 # Failed test 'Pod syntax correct' # at t/codingstd/pod_syntax.t line 45. # got: 'xconf/samples/yourfoobar # t/configure/testlib/verbosefoobar # t/configure/testlib/ddefectivefoobar # t/configure/testlib/adefectivefoobar # t/configure/testlib/cdefectivefoobar # t/configure/testlib/bdefectivefoobar # xconf/samples/testfoobar' # expected: '' # You should use podchecker to check the failed files. # Looks like you failed 1 test of 2. t/codingstd/pod_syntax.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/distro/file_metadata.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 3 Non-zero exit status: 1 t/codingstd/perlcritic.t (Wstat: 256 Tests: 307 Failed: 1) Failed test: 270 Non-zero exit status: 1 t/codingstd/pod_syntax.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=28, Tests=354, 220 wallclock secs ( 0.31 usr 0.09 sys + 205.54 cusr 4.68 csys = 210.62 CPU) Result: FAIL ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:33:53 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test t/benchmark/*.t t/benchmark/benchmarks.t .. 19/37 # Failed test 'examples/benchmarks/oo1.pasm' # at t/benchmark/benchmarks.t line 218. # Exited with error code: 139 # Received: # Segmentation fault # # Expected: # 10 # # Failed test 'examples/benchmarks/oo2.pasm' # at t/benchmark/benchmarks.t line 218. # Exited with error code: 139 # Received: # Segmentation fault # # Expected: # 10 # # Failed test 'examples/benchmarks/oo3.pasm' # at t/benchmark/benchmarks.t line 218. # Exited with error code: 139 # Received: # Segmentation fault # # Expected: # 10 # # Failed test 'examples/benchmarks/oo4.pasm' # at t/benchmark/benchmarks.t line 218. # Exited with error code: 139 # Received: # Segmentation fault # # Expected: # 500000 # t/benchmark/benchmarks.t .. 37/37 # Looks like you failed 4 tests of 37. t/benchmark/benchmarks.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/37 subtests Test Summary Report ------------------- t/benchmark/benchmarks.t (Wstat: 1024 Tests: 37 Failed: 4) Failed tests: 20-23 Non-zero exit status: 4 Files=1, Tests=37, 513 wallclock secs ( 0.05 usr 0.00 sys + 482.09 cusr 27.20 csys = 509.34 CPU) Result: FAIL ----------------------------------------------------------------------- make manifest_tests was successful ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:45:21 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test t/doc/*.t Files=0, Tests=0, 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU) Result: NOTESTS ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 11:49:54 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test t/examples/*.t t/examples/catchall.t ... 6/166 error:imcc:syntax error, unexpected VAR, expecting '(' ('sock') in file 'examples/io/echo_client.pir' line 33 error:imcc:syntax error, unexpected VAR, expecting '(' ('address') in file 'examples/io/echo_client.pir' line 36 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/echo_client.pir' line 38 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/echo_client.pir' line 49 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/echo_client.pir' line 50 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/echo_client.pir' line 51 # Failed test 'examples/io/echo_client.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected VAR, expecting '(' ('sock') in file 'examples/io/http.pir' line 31 error:imcc:syntax error, unexpected VAR, expecting '(' ('address') in file 'examples/io/http.pir' line 35 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/http.pir' line 37 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/http.pir' line 42 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/http.pir' line 43 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/http.pir' line 45 # Failed test 'examples/io/http.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected VAR, expecting '(' ('sock') in file 'examples/io/httpd.pir' line 112 error:imcc:syntax error, unexpected VAR, expecting '(' ('port') in file 'examples/io/httpd.pir' line 116 error:imcc:syntax error, unexpected VAR, expecting '(' ('sock') in file 'examples/io/httpd.pir' line 117 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/httpd.pir' line 132 error:imcc:syntax error, unexpected VAR, expecting '(' ('work') in file 'examples/io/httpd.pir' line 134 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/httpd.pir' line 137 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/httpd.pir' line 228 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/httpd.pir' line 251 error:imcc:syntax error, unexpected VAR, expecting '(' ('ret') in file 'examples/io/httpd.pir' line 278 error:imcc:syntax error, unexpected VAR, expecting '(' ('hex') in file 'examples/io/httpd.pir' line 334 # Failed test 'examples/io/httpd.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected IDENTIFIER, expecting PARROT_OP ('socket') in file 'examples/io/net_smtp.pasm' line 25 # Failed test 'examples/io/net_smtp.pasm' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' t/examples/catchall.t ... 45/166 error:imcc:No such file or directory in file 'examples/nci/sdl_blue_rectangle.pir' line 9 # Failed test 'examples/nci/sdl_blue_rectangle.pir' # at t/examples/catchall.t line 45. # got: '512' # expected: '0' error:imcc:No such file or directory in file 'examples/nci/xlibtest.pir' line 21 # Failed test 'examples/nci/xlibtest.pir' # at t/examples/catchall.t line 45. # got: '512' # expected: '0' error:imcc:syntax error, unexpected IDENTIFIER, expecting PARROT_OP ('compile') in file 'examples/pasm/nanoforth.pasm' line 90 t/examples/catchall.t ... 72/166 # Failed test 'examples/pasm/nanoforth.pasm' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected IDENTIFIER, expecting PARROT_OP ('find_global') in file 'examples/pasm/nanoforth2.pasm' line 30 # Failed test 'examples/pasm/nanoforth2.pasm' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:No such file or directory in file 'examples/pir/befunge/befunge.pir' line 3 # Failed test 'examples/pir/befunge/befunge.pir' # at t/examples/catchall.t line 45. # got: '512' # expected: '0' t/examples/catchall.t ... 96/166 error:imcc:syntax error, unexpected STRINGC, expecting '(' (''Mines::Field'') in file 'examples/sdl/minesweeper/field.pir' line 180 error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Mines::Field"') in file 'examples/sdl/minesweeper/field.pir' line 317 error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Mines::Field"') in file 'examples/sdl/minesweeper/field.pir' line 320 error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Mines::Field"') in file 'examples/sdl/minesweeper/field.pir' line 979 error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Mines::Field"') in file 'examples/sdl/minesweeper/field.pir' line 984 # Failed test 'examples/sdl/minesweeper/field.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Tetris::App"') in file 'examples/sdl/tetris/app.pir' line 80 error:imcc:syntax error, unexpected PREG, expecting '(' ('$P0') in file 'examples/sdl/tetris/app.pir' line 168 error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Tetris::App"') in file 'examples/sdl/tetris/app.pir' line 192 # Failed test 'examples/sdl/tetris/app.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' t/examples/catchall.t ... 115/166 error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Tetris::Block"') in file 'examples/sdl/tetris/blocks.pir' line 61 # Failed test 'examples/sdl/tetris/blocks.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"Tetris::Block"') in file 'examples/sdl/tetris/board.pir' line 879 # Failed test 'examples/sdl/tetris/board.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' error:imcc:syntax error, unexpected STRINGC, expecting '(' ('"SDL::Event"') in file 'examples/sdl/tetris/eventhandler.pir' line 42 # Failed test 'examples/sdl/tetris/eventhandler.pir' # at t/examples/catchall.t line 45. # got: '256' # expected: '0' t/examples/catchall.t ... 145/166 # Looks like you failed 14 tests of 166. t/examples/catchall.t ... Dubious, test returned 14 (wstat 3584, 0xe00) Failed 14/166 subtests t/examples/shootout.t ... 1/20 # Failed test 'examples/shootout/ack.pir' # at t/examples/shootout.t line 107. # Exited with error code: 1 # Received: # main: Unrecognized runcore 'cgp-Cit' specified. # # help: parrot -h # # # Expected: # Ack(3, 7) = 1021 # t/examples/shootout.t ... 2/20 # Failed test 'examples/shootout/fannkuch.pir' # at t/examples/shootout.t line 107. # Exited with error code: 1 # Received: # Error: PARROT_JIT_FLAG is set, but interpreter is not JIT_CAPABLE! # # current instr.: 'main' pc 244 (/home/mhk64/parrot/t/examples/shootout_3.pir:108) # ******************************* I did not include all the output here as there is a lot and seems to relate to the above error and it includes some weird characters ******************************* t/examples/shootout.t ... 20/20 # Looks like you failed 11 tests of 20. t/examples/shootout.t ... Dubious, test returned 11 (wstat 2816, 0xb00) Failed 11/20 subtests (less 2 skipped subtests: 7 okay) t/examples/streams.t .... 1/12 # Failed test 'examples/streams/ParrotIO.pir' # at t/examples/streams.t line 285. # got: 'read:[=head1 Filehandle Object Example\n\nThis small examp] # read:[le shows the usage of C.\n\nIt rea] # read:[ds this file with a default block size.\n\nYou can s] # read:[pecify another block size with the C me] # read:[thod.\nC called without an integer param] # read:[eter will return the\ncurrent block size.\n\nEach tim] # read:[e the C method is called, the next block is ] # read:[read from\nthe underlying ParrotIO, until EOF, wher] # read:[e the stream will be disconnected.\n\nInstead of usi] # read:[ng the C method, you can also assign your ow] # read:[n ParrotIO\nPMC to the stream with the C op] # read:[.\n\n=cut\n\n.sub _main :main\n .local pmc stream\n\n ] # read:[ load_bytecode \"library/Stream/ParrotIO.pir\"\n\n ] # read:[ # create the ParrotIO stream\n stream = new \"S] # read:[tream::ParrotIO\"\n\n # open this file\n stream.] # read:[\"open\"( \"examples/streams/ParrotIO.pir\", 'r' )\n\n ] # read:[ # you can specifiy a custom block size with\n ] # read:[# stream.\"blockSize\"( 10 )\n\n # dump the stream\n] # read:[ stream.\"dump\"()\n\n end\n.end\n\n=head1 AUTHOR\n\n] # read:[Jens Rieks Eparrot at jensbeimsurfen dot deE is the author\nand maintainer.\nPlease send patch] # read:[es and suggestions to the Perl 6 Internals mailing] # read:[ list.\n\n=head1 COPYRIGHT\n\nCopyright (C) 2004-2008,] # read:[ Parrot Foundation.\n\n=cut\n\n# Local Variables:\n# ] # read:[mode: pir\n# fill-column: 100\n# End:\n# vim: expan] # read:[dtab shiftwidth=4 ft=pir:\n] # ' # expected: 'read:[=head1 INFORMATION\n\nThis small example shows the u] # read:[sage of C.\n\nIt reads this file w] # read:[ith a default block size.\n\nYou can specify another] # read:[ block size with the C method.\nC called without an integer parameter will retu] # read:[rn the\ncurrent block size.\n\nEach time the C ] # read:[method is called, the next block is read from\nthe ] # read:[underlying ParrotIO, until EOF, where the stream w] # read:[ill be disconnected.\n\nInstead of using the C] # read:[ method, you can also assign your own ParrotIO\nPMC] # read:[ to the stream with the C op.\n\n=cut\n\n.sub ] # read:[_main :main\n .local pmc stream\n\n load_byteco] # read:[de \"library/Stream/ParrotIO.pir\"\n\n # create the] # read:[ ParrotIO stream\n stream = new \"Stream::ParrotI] # read:[O\"\n\n # open this file\n stream.\"open\"( \"examp] # read:[les/streams/ParrotIO.pir\", 'r' )\n\n # you can sp] # read:[ecifiy a custom block size with\n # stream.\"bloc] # read:[kSize\"( 10 )\n\n # dump the stream\n stream.\"du] # read:[mp\"()\n\n end\n.end\n\n=head1 AUTHOR\n\nJens Rieks Eparrot at jensbeimsurfen dot deE is the auth] # read:[or\nand maintainer.\nPlease send patches and suggest] # read:[ions to the Perl 6 Internals mailing list.\n\n=head1] # read:[ COPYRIGHT\n\nCopyright (C) 2004-2008, Parrot Founda] # read:[tion.\n\n=cut\n\n# Local Variables:\n# mode: pir\n# ] # read:[fill-column: 100\n# End:\n# vim: expandtab shiftwidt] # read:[h=4 ft=pir:\n] # ' t/examples/streams.t .... 2/12 # Failed test 'examples/streams/FileLines.pir' # at t/examples/streams.t line 285. # got: 'read:[ 1 =head1 Advanced Lines Example] # read:[ 2 ] # read:[ 3 This is an advanced example.] # read:[ 4 ] # read:[ 5 It uses a file stream (Stream::ParrotIO) that is processed linewise with] # read:[ 6 Stream::Lines. A counter stream creates line numbers, both are combined to] # read:[ 7 one stream and then dumped.] # read:[ 8 ] # read:[ 9 =head1 NOTE] # read:[ 10 ] # read:[ 11 When updating this file, be sure to verify L, as its] # read:[ 12 tests rely on the content of this file] # read:[ 13 ] # read:[ 14 =head1 FUNCTIONS] # read:[ 15 ] # read:[ 16 =over 4] # read:[ 17 ] # read:[ 18 =item _main] # read:[ 19 ] # read:[ 20 Opens this file (or the one specified at the command line) and creates a lines] # read:[ 21 stream for it. Then it combines the stream with a stream providing line numbers.] # read:[ 22 ] # read:[ 23 =cut] # read:[ 24 ] # read:[ 25 .sub _main] # read:[ 26 .param pmc argv] # read:[ 27 .local int argc] # read:[ 28 .local pmc file] # read:[ 29 .local pmc lines] # read:[ 30 .local pmc counter] # read:[ 31 .local pmc combiner] # read:[ 32 .local string name] # read:[ 33 ] # read:[ 34 # get the name of the file to open] # read:[ 35 name = \"examples/streams/FileLines.pir\"] # read:[ 36 argc = argv] # read:[ 37 if argc < 2 goto NO_NAME] # read:[ 38 name = argv[1]] # read:[ 39 NO_NAME:] # read:[ 40 ] # read:[ 41 load_bytecode \"library/Stream/ParrotIO.pir\"] # read:[ 42 load_bytecode \"library/Stream/Lines.pir\"] # read:[ 43 load_bytecode \"library/Stream/Sub.pir\"] # read:[ 44 load_bytecode \"library/Stream/Combiner.pir\"] # read:[ 45 ] # read:[ 46 # create a file stream] # read:[ 47 file = new \"Stream::ParrotIO\"] # read:[ 48 file.\"open\"( name, 'r' )] # read:[ 49 ] # read:[ 50 # process it one line per read] # read:[ 51 lines = new \"Stream::Lines\"] # read:[ 52 assign lines, file] # read:[ 53 ] # read:[ 54 # endless counter] # read:[ 55 counter = new \"Stream::Sub\"] # read:[ 56 .const 'Sub' temp = \"_counter\"] # read:[ 57 assign counter, temp] # read:[ 58 ] # read:[ 59 # combine the counter and the file's lines] # read:[ 60 combiner = new \"Stream::Combiner\"] # read:[ 61 assign combiner, counter] # read:[ 62 assign combiner, lines] # read:[ 63 ] # read:[ 64 # dump the stream] # read:[ 65 combiner.\"dump\"()] # read:[ 66 ] # read:[ 67 end] # read:[ 68 .end] # read:[ 69 ] # read:[ 70 =item _counter] # read:[ 71 ] # read:[ 72 This sub is the source of the counter stream. It just endlessly writes] # read:[ 73 line numbers followed by a space to its stream.] # read:[ 74 ] # read:[ 75 =cut] # read:[ 76 ] # read:[ 77 .sub _counter] # read:[ 78 .param pmc stream] # read:[ 79 .local int i] # read:[ 80 .local string str] # read:[ 81 .local pmc array] # read:[ 82 ] # read:[ 83 i = 0] # read:[ 84 array = new 'ResizablePMCArray'] # read:[ 85 ] # read:[ 86 LOOP:] # read:[ 87 inc i] # read:[ 88 array[0] = i] # read:[ 89 sprintf str, \"%5d \", array] # read:[ 90 stream.\"write\"( str )] # read:[ 91 branch LOOP] # read:[ 92 .end] # read:[ 93 ] # read:[ 94 =back] # read:[ 95 ] # read:[ 96 =head1 AUTHOR] # read:[ 97 ] # read:[ 98 Jens Rieks Eparrot at jensbeimsurfen dot deE is the author] # read:[ 99 and maintainer.] # read:[ 100 Please send patches and suggestions to the Perl 6 Internals mailing list.] # read:[ 101 ] # read:[ 102 =head1 COPYRIGHT] # read:[ 103 ] # read:[ 104 Copyright (C) 2004-2008, Parrot Foundation.] # read:[ 105 ] # read:[ 106 =cut] # read:[ 107 ] # read:[ 108 # Local Variables:] # read:[ 109 # mode: pir] # read:[ 110 # fill-column: 100] # read:[ 111 # End:] # read:[ 112 # vim: expandtab shiftwidth=4 ft=pir:] # ' # expected: 'read:[ 1 =head1 INFORMATION] # read:[ 2 ] # read:[ 3 This is an advanced example.] # read:[ 4 ] # read:[ 5 It uses a file stream (Stream::ParrotIO) that is processed linewise with] # read:[ 6 Stream::Lines. A counter stream creates line numbers, both are combined to] # read:[ 7 one stream and then dumped.] # read:[ 8 ] # read:[ 9 =head1 NOTE] # read:[ 10 ] # read:[ 11 When updating this file, be sure to verify L, as its] # read:[ 12 tests rely on the content of this file] # read:[ 13 ] # read:[ 14 =head1 FUNCTIONS] # read:[ 15 ] # read:[ 16 =over 4] # read:[ 17 ] # read:[ 18 =item _main] # read:[ 19 ] # read:[ 20 Opens this file (or the one specified at the command line) and creates a lines] # read:[ 21 stream for it. Then it combines the stream with a stream providing line numbers.] # read:[ 22 ] # read:[ 23 =cut] # read:[ 24 ] # read:[ 25 .sub _main] # read:[ 26 .param pmc argv] # read:[ 27 .local int argc] # read:[ 28 .local pmc file] # read:[ 29 .local pmc lines] # read:[ 30 .local pmc counter] # read:[ 31 .local pmc combiner] # read:[ 32 .local string name] # read:[ 33 ] # read:[ 34 # get the name of the file to open] # read:[ 35 name = \"examples/streams/FileLines.pir\"] # read:[ 36 argc = argv] # read:[ 37 if argc < 2 goto NO_NAME] # read:[ 38 name = argv[1]] # read:[ 39 NO_NAME:] # read:[ 40 ] # read:[ 41 load_bytecode \"library/Stream/ParrotIO.pir\"] # read:[ 42 load_bytecode \"library/Stream/Lines.pir\"] # read:[ 43 load_bytecode \"library/Stream/Sub.pir\"] # read:[ 44 load_bytecode \"library/Stream/Combiner.pir\"] # read:[ 45 ] # read:[ 46 # create a file stream] # read:[ 47 file = new \"Stream::ParrotIO\"] # read:[ 48 file.\"open\"( name, 'r' )] # read:[ 49 ] # read:[ 50 # process it one line per read] # read:[ 51 lines = new \"Stream::Lines\"] # read:[ 52 assign lines, file] # read:[ 53 ] # read:[ 54 # endless counter] # read:[ 55 counter = new \"Stream::Sub\"] # read:[ 56 .const 'Sub' temp = \"_counter\"] # read:[ 57 assign counter, temp] # read:[ 58 ] # read:[ 59 # combine the counter and the file's lines] # read:[ 60 combiner = new \"Stream::Combiner\"] # read:[ 61 assign combiner, counter] # read:[ 62 assign combiner, lines] # read:[ 63 ] # read:[ 64 # dump the stream] # read:[ 65 combiner.\"dump\"()] # read:[ 66 ] # read:[ 67 end] # read:[ 68 .end] # read:[ 69 ] # read:[ 70 =item _counter] # read:[ 71 ] # read:[ 72 This sub is the source of the counter stream. It just endlessly writes] # read:[ 73 line numbers followed by a space to its stream.] # read:[ 74 ] # read:[ 75 =cut] # read:[ 76 ] # read:[ 77 .sub _counter] # read:[ 78 .param pmc stream] # read:[ 79 .local int i] # read:[ 80 .local string str] # read:[ 81 .local pmc array] # read:[ 82 ] # read:[ 83 i = 0] # read:[ 84 array = new 'ResizablePMCArray'] # read:[ 85 ] # read:[ 86 LOOP:] # read:[ 87 inc i] # read:[ 88 array[0] = i] # read:[ 89 sprintf str, \"%5d \", array] # read:[ 90 stream.\"write\"( str )] # read:[ 91 branch LOOP] # read:[ 92 .end] # read:[ 93 ] # read:[ 94 =back] # read:[ 95 ] # read:[ 96 =head1 AUTHOR] # read:[ 97 ] # read:[ 98 Jens Rieks Eparrot at jensbeimsurfen dot deE is the author] # read:[ 99 and maintainer.] # read:[ 100 Please send patches and suggestions to the Perl 6 Internals mailing list.] # read:[ 101 ] # read:[ 102 =head1 COPYRIGHT] # read:[ 103 ] # read:[ 104 Copyright (C) 2004-2008, Parrot Foundation.] # read:[ 105 ] # read:[ 106 =cut] # read:[ 107 ] # read:[ 108 # Local Variables:] # read:[ 109 # mode: pir] # read:[ 110 # fill-column: 100] # read:[ 111 # End:] # read:[ 112 # vim: expandtab shiftwidth=4 ft=pir:] # ' t/examples/streams.t .... 4/12 not ok 10 - Bytes.pir # TODO some examples not testable yet not ok 11 - Replay.pir # TODO some examples not testable yet not ok 12 - Writer.pir # TODO some examples not testable yet # Looks like you failed 2 tests of 12. t/examples/streams.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/12 subtests t/examples/subs.t ....... ok t/examples/tutorial.t ... ok Test Summary Report ------------------- t/examples/catchall.t (Wstat: 3584 Tests: 166 Failed: 14) Failed tests: 40-42, 44, 63, 65, 72-73, 78, 109, 113 116-117, 119 Non-zero exit status: 14 t/examples/shootout.t (Wstat: 2816 Tests: 20 Failed: 11) Failed tests: 1, 3, 6-11, 17-19 Non-zero exit status: 11 t/examples/streams.t (Wstat: 512 Tests: 12 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=11, Tests=272, 220 wallclock secs ( 0.22 usr 0.04 sys + 11.61 cusr 4.80 csys = 16.67 CPU) Result: FAIL ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/parrot$ date Tue Mar 10 12:08:28 GMT 2009 mhk64@mhk64-desktop:~/parrot$ perl t/harness --gc-debug --running-make-test t/distro/*.t t/distro/file_metadata.t ....... # Collecting svn:mime-type attributes... t/distro/file_metadata.t ....... 1/5 # Collecting svn:keywords attributes... t/distro/file_metadata.t ....... 3/5 # Failed test 'svn:keywords' # at t/distro/file_metadata.t line 131. # got: 'Set svn:keywords with: # svn ps svn:keywords "Author Date Id Revision" examples/pir/befunge/Makefile # ' # expected: '' # Collecting svn:eol-style attributes... t/distro/file_metadata.t ....... 4/5 # Collecting svn:eol-style attributes... # Looks like you failed 1 test of 5. t/distro/file_metadata.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests t/distro/test_file_coverage.t .. 1/3 # Failed test 'there are PMC files for all test files in t/pmc' # at t/distro/test_file_coverage.t line 57. # files in src/pmc but not in test dir: # packfileannotation # packfileannotationkeys # packfileannotations # Looks like you failed 1 test of 3. t/distro/test_file_coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests Test Summary Report ------------------- t/distro/file_metadata.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 3 Non-zero exit status: 1 t/distro/test_file_coverage.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=13, 5 wallclock secs ( 0.05 usr 0.02 sys + 3.49 cusr 1.59 csys = 5.15 CPU) Result: FAIL ----------------------------------------------------------------------- After the tests I built rakudo on this parrot build. make test passed but there were failures in make spectest. They all passed on build r37250. ----------------------------------------------------------------------- mhk64@mhk64-desktop:~/rakudo$ date Tue Mar 10 12:11:40 GMT 2009 mhk64@mhk64-desktop:~/rakudo$ git pull remote: Counting objects: 19, done. remote: Compressing objects: 100% (13/13), done. remote: Total 13 (delta 10), reused 0 (delta 0) Unpacking objects: 100% (13/13), done. From git://github.com/rakudo/rakudo d16d3c3..95ce390 master -> origin/master Updating d16d3c3..95ce390 Fast forward docs/guide_to_setting.pod | 30 +++++++++++++++++++++--------- src/setting/Any-list.pm | 6 +++--- 2 files changed, 24 insertions(+), 12 deletions(-) mhk64@mhk64-desktop:~/rakudo$ make realclean mhk64@mhk64-desktop:~/rakudo$ perl Configure.pl --parrot-config=../parrot/parrot_config mhk64@mhk64-desktop:~/rakudo$ make mhk64@mhk64-desktop:~/rakudo$ date Tue Mar 10 12:15:54 GMT 2009 mhk64@mhk64-desktop:~/rakudo$ make test All tests successful. Files=29, Tests=236, 56 wallclock secs ( 0.24 usr 0.08 sys + 45.68 cusr 9.20 csys = 55.20 CPU) Result: PASS mhk64@mhk64-desktop:~/rakudo$ make spectest t/spec/S04-statements/given.rakudo ............................. Failed 16/48 subtests (less 2 skipped subtests: 30 okay) t/spec/S32-num/complex.rakudo .................................. Method 're' not found for invocant of class 'Complex' current instr.: 'parrot;P6metaclass;dispatch' pc 320 (src/classes/ClassHOW.pir:161) called from Sub '_block21' pc 336 (EVAL_20:121) called from Sub '_block14' pc 101 (EVAL_20:53) called from Sub '!UNIT_START' pc 17435 (src/builtins/guts.pir:325) called from Sub 'parrot;PCT;HLLCompiler;eval' pc 950 (src/PCT/HLLCompiler.pir:527) called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1275 (src/PCT/HLLCompiler.pir:688) called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1456 (src/PCT/HLLCompiler.pir:778) called from Sub 'parrot;Perl6;Compiler;main' pc 21732 (perl6.pir:163) t/spec/S32-num/complex.rakudo .................................. Dubious, test returned 1 (wstat 256, 0x100) Failed 140/140 subtests Test Summary Report ------------------- t/spec/S04-statements/given.rakudo (Wstat: 11 Tests: 32 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 48 tests but ran 32. t/spec/S32-list/reduce.rakudo (Wstat: 0 Tests: 14 Failed: 0) TODO passed: 14 t/spec/S32-num/complex.rakudo (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 140 tests but ran 0. Files=317, Tests=9242, 2410 wallclock secs ( 8.52 usr 3.33 sys + 2162.31 cusr 208.41 csys = 2382.57 CPU) Result: FAIL Failed 2/317 test programs. 0/9242 subtests failed. make: *** [spectest] Error 255 -----------------------------------------------------------------------