Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-11-12

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 devogon_ joined #perl6
00:05 Notrix joined #perl6
00:05 theorb joined #perl6
00:06 devogon_ joined #perl6
00:31 devogon joined #perl6
00:59 Notrix joined #perl6
01:05 lyokato joined #perl6
01:06 weinig joined #perl6
02:04 weinig joined #perl6
02:10 ting joined #perl6
02:36 __Ace__ joined #perl6
02:40 jisom joined #perl6
02:51 cj joined #perl6
02:51 rhr joined #perl6
02:51 yves joined #perl6
03:45 justatheory joined #perl6
04:03 zakame joined #perl6
04:53 Aankhen`` joined #perl6
05:33 jisom joined #perl6
05:44 amnesiac joined #perl6
05:52 `nipra joined #perl6
06:08 thoughtpolice joined #perl6
06:25 luqui joined #perl6
06:37 rfordinal joined #perl6
06:37 devogon joined #perl6
06:46 Psyche^ joined #perl6
06:53 Grrrr joined #perl6
07:06 kanru joined #perl6
07:14 penk joined #perl6
07:20 Tene joined #perl6
07:21 * Tene is confused about why he wasn't joined to this channel.
07:40 zakame_ joined #perl6
07:48 weinig joined #perl6
07:50 hanekomu joined #perl6
07:58 BinGOs joined #perl6
08:01 iblechbot joined #perl6
08:21 devogon joined #perl6
08:23 franck___ joined #perl6
09:44 masak joined #perl6
10:04 funktio_ joined #perl6
10:31 funktio joined #perl6
11:01 iblechbot joined #perl6
11:01 fglock joined #perl6
11:36 mjk joined #perl6
11:37 mjk joined #perl6
11:38 mjk left #perl6
11:39 |mjk| joined #perl6
11:43 ruoso joined #perl6
11:55 ebassi joined #perl6
12:06 devogon_ joined #perl6
12:36 devogon joined #perl6
12:41 penk joined #perl6
13:08 HiTech69 joined #perl6
13:11 iblechbot joined #perl6
13:29 cmarcelo joined #perl6
13:34 drrho joined #perl6
14:25 hanekomu joined #perl6
14:33 kanru joined #perl6
14:39 chris2 joined #perl6
14:43 drupek12 joined #perl6
14:52 rindolf joined #perl6
15:09 drbean joined #perl6
15:10 kyrbe joined #perl6
15:11 kyrbe left #perl6
15:28 cognominal_ joined #perl6
15:43 Psyche^ joined #perl6
15:47 Lorn joined #perl6
15:48 Lorn joined #perl6
16:00 justatheory joined #perl6
16:02 Psyche^ joined #perl6
16:24 masak joined #perl6
16:39 barney joined #perl6
16:42 lambdabot joined #perl6
16:48 dlocaus joined #perl6
16:53 dlocaus hello!
16:53 dlocaus Good morning! or good evening!
16:54 moritz_ same to you, dlocaus
16:54 masak good *ing, dlocaus
16:54 dlocaus moritz_: been off working on another project for a bit, a bit of a rush item... but I'm 1/2 back!
16:54 b2gills joined #Perl6
16:55 * dlocaus resumes investigating the Makefile(.PL)
16:55 moritz_ I didn't find any p6 hacking tuits as well
16:57 dlocaus moritz_: does running the "current" v6-kp6 "make test" fail for you?
16:59 moritz_ dlocaus: checking...
16:59 moritz_ iirc some tests fail, yes
17:00 dlocaus I'm getting failures, on tests I don't normally get failures on.
17:00 dlocaus /usr/bin/perl script/run_tests_kp6_mp6.pl
17:00 dlocaus t/p5/ has no tests, this is not an error, just a warning at script/run_tests_kp6_mp6.pl line 30.
17:00 dlocaus ../../t/01-sanity/01-tap...........................some tests failed
17:00 dlocaus ../../t/01-sanity/01-tap........................... Dubious, test returned 1 (wstat 256, 0x100)
17:00 dlocaus No subtests run
17:00 dlocaus (everything)
17:00 moritz_ these work fine for me
17:00 moritz_ all up to t/kp6/35-undef.t work
17:01 moritz_ and startin from 36-multi there are some failures
17:01 dlocaus humm
17:02 dlocaus I think I upgraded Test::? something last week.
17:02 moritz_ Test::Harness to 3.0?
17:02 dlocaus yes
17:02 dlocaus I wonder if that's what is doing it?
17:02 dlocaus Test::Harness Updated: http://perlbuzz.com/cpan-watch/2007/11/testharness-300-goes-live.html
17:02 lambdabot Title: Test::Harness 3.00 is a complete rewrite, allows parallel testing - CPAN Watch, http://tinyurl.com/26yzka
17:04 dlocaus humm, I'll debug this, probably more important than investigating the Makefile.PL
17:04 dlocaus brb
17:04 jrockway joined #perl6
17:05 jrockway_ joined #perl6
17:12 Lorn joined #perl6
17:14 araujo joined #perl6
17:14 r0bby_ joined #perl6
17:15 r0bby_ joined #perl6
17:18 dlocaus moritz_: Test::Harness 3.0 (Better known as TAP::Harness), uses a differnent invocation format for tests than Test::Harness, while being somewhat compatible.
17:18 dlocaus I'm thinking that it would be good to do
17:18 dlocaus eval { require 'TAP::Harness'; }
17:18 dlocaus if ( $@ ) {
17:18 dlocaus continue doing old tests
17:18 buubot dlocaus:  ''ERROR: 8654: Can't locate TAP::Harness in @INC (@INC contains:) at (eval 216) line 1.
17:18 dlocaus } else {
17:18 dlocaus use new code written by daniel to use the 3.0 invocation
17:18 dlocaus }
17:18 dlocaus moritz_: do you have thoughts?
17:19 moritz_ dlocaus: sounds good
17:19 dlocaus ok
17:38 amnesiac joined #perl6
17:57 allbery_b joined #perl6
18:16 Jamtech joined #perl6
18:24 moritz_ dlocaus: the parrot folks have issues with the test suite as well
18:25 dlocaus yeah, its weird.
18:25 moritz_ problems with Test::TAP::HTMLMatrix in their case
18:25 justatheory joined #perl6
18:25 dlocaus TAP::Harness claims to not be getting output, but the output is obviously going to STDOUT.
18:47 weinig joined #perl6
18:57 cmarcelo joined #perl6
19:01 xinming joined #perl6
19:08 rindolf joined #perl6
19:19 pugs_svn r18831 | dlo++ | [kp6] run_tests_kp6_mp6.pl was updated to use TAP::Harness if available.
19:19 pugs_svn r18831 | dlo++ |
19:19 pugs_svn r18831 | dlo++ | Note: if you have installed Test::Harness 3.0 (released to CPAN Nov 7th), the previous edition of
19:19 pugs_svn r18831 | dlo++ | run_tests_kp6_mp6.pl will break.
19:19 pugs_svn r18831 | dlo++ |
19:19 pugs_svn r18831 | dlo++ | If you have not upgraded, then the legacy code will continue to work as usual.wq
19:19 pugs_svn r18831 | dlo++ |
19:19 pugs_svn r18831 | dlo++ | dlocaus #perl @ irc.freenode.net
19:26 dlocaus moritz_: I've updated "run_tests_kp6_mp6.pl" to use "TAP::Harness", should I update the others or wait and see how "run_tests_kp6_mp6.pl" does?
19:27 justatheory joined #perl6
19:27 moritz_ wait a sec...
19:28 moritz_ it dies with "Can't locate TAP/Harness.pm in @INC" here
19:28 dlocaus argh...
19:28 dlocaus line 37?
19:28 moritz_ yes
19:28 moritz_ should I fix it?
19:29 dlocaus When I put in require 'TAP::Harness'; it says it can't find it
19:29 dlocaus if you know of a better solution, please. .. :)
19:29 dlocaus kitty:~/volunteer/perl6/pugs/v6/v6-KindaPerl6> perl script/run_tests_kp6_mp6.pl
19:29 dlocaus t/p5/ has no tests, this is not an error, just a warning at script/run_tests_kp6_mp6.pl line 79.
19:29 dlocaus Can't locate TAP::Harness in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/pe
19:29 dlocaus rl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at script/run_tests_kp6_mp6.pl line 37
19:29 dlocaus .
19:29 dlocaus that's the error I get when I try 'require';
19:30 moritz_ with the difference that 'use' is evaluated at compile time
19:30 moritz_ so the script will fail completely
19:30 dlocaus I was hoping that wouldn't be the case inside of an eval block, but ...
19:31 pugs_svn r18832 | moritz++ | [kp6] "fixes" run_tests_kp6_mp6.pl: it doesn't die anymore if
19:31 pugs_svn r18832 | moritz++ | it can't find TAP::Harness
19:31 moritz_ now it still prints out the error message, but it lives
19:32 moritz_ dlocaus: could you please test if that script still works without line 38?
19:32 dlocaus it does.
19:32 moritz_ and you have TAP::Harness installed, right?
19:32 dlocaus oh... stupid me
19:32 dlocaus I put in
19:32 dlocaus require 'TAP::Harness';
19:32 dlocaus 'single quotes TKO'd
19:32 dlocaus yes
19:33 dlocaus moritz_: yes, I have TAP::Harness installed.
19:33 dlocaus moritz_: Should I update the others?
19:33 dlocaus other test scripts
19:33 moritz_ dlocaus: yes, please
19:40 justatheory_ joined #perl6
19:42 xinming joined #perl6
19:54 luqui joined #perl6
19:55 pmurias joined #perl6
19:55 pmurias it might make sense to only leave run_tests.pl
19:57 jisom joined #perl6
20:03 dlocaus pmurias: ?
20:03 dlocaus pmurias: you want me to condense all of the tests into one test file?
20:04 dlocaus pmurias: it doesn't look like it will be that hard.
20:05 moritz_ dlocaus: just the scripts that execute the tests
20:05 moritz_ ;)
20:07 dlocaus moritz_: can you please clairfy?
20:07 dlocaus moritz_: ah, you're agreeing with me.  make all the test scripts into 1 script?
20:07 moritz_ dlocaus: not "all tests into one test file", i.e. don't join all files in t/kp6/*.t
20:08 moritz_ but do join script/run_test*.pl
20:08 dlocaus moritz_: oh, I'm refering to the test scripts in script/run_tests*.pl
20:08 dlocaus ok
20:08 moritz_ ok
20:08 moritz_ now we finally understood each other ;)
20:08 slnt joined #perl6
20:09 xinming_ joined #perl6
20:13 pmurias run_test.pl takes a --backend option which specifies the backend to run tests on
20:16 dlocaus pmurias: yes, I'm cleaning up the code to do that.
20:16 dlocaus all: btw, I was trying to figure out how to create a reference to a non-existant scalar.  Does anyone know how to do that?
20:16 dlocaus like $hash_ref ={ };
20:16 dlocaus or $array_ref = [ ];
20:16 dlocaus how to do: $scalar_ref = ????
20:17 moritz_ $scalar_ref = \my $dummy
20:17 moritz_ or the like
20:18 dlocaus ah, cool
20:18 moritz_ you can introduce a block so that the name goes out of scope
20:18 moritz_ \ do { my $dummy } # not tested
20:19 aindilis joined #perl6
20:20 dlocaus ok
20:20 dlocaus I thought there would be some syntax for that...
20:20 moritz_ I assume you're talking about perl5, right? ;-)
20:22 justatheory joined #perl6
20:22 dlocaus yes.
20:31 TimToady joined #perl6
21:03 dlocaus moritz_: pmurias: do either of you run the lisp backends?
21:04 pugs_svn r18833 | dlo++ | [kp6] cleaned up all of the test scripts, perldoc script/run_tests.pl for more info. dlocaus on #perl6 irc.freenode.net
21:05 pmurias dlocaus: i've got sbcl installed
21:05 dlocaus can you test the script/run_tests.pl --backend=cl-sbcl
21:07 pmurias doing it
21:08 dlocaus pmurias: ty
21:08 dlocaus brb, (nature is calling)
21:10 dlocaus back
21:12 dlocaus pmurias: moritz_: flgock: does anyone use: script/run_kp6_kp6_perl5.pl? in addition do they use the test script run_tests_kp6_kp6.pl?
21:13 dlocaus I'm wondering if these can be deleted?
21:18 spinclad dlocaus: looking
21:21 luqui joined #perl6
21:22 pmurias dlocaus: Makefile uses them
21:23 drupek12 joined #perl6
21:23 dlocaus investingating...
21:24 dlocaus argh
21:24 dlocaus pmurias: did that lisp test out ok?
21:25 pmurias dlocaus: there are many failures but i think it's the state of the lisp implementation
21:25 dlocaus hurmm, ok
21:26 dlocaus pmurias: should I delete the extra run_tests_(backend).pl files? or replace them with a warning saying to use "perl run_tests.pl --backend=XXXX"?
21:26 spinclad run_tests_kp6_kp6.pl runs run_kp6_kp6_perl5.pl
21:26 Torment joined #perl6
21:26 dlocaus spinclad: thank you
21:27 pmurias dlocaus: i think you should remove them only if you make test use run_tests.pl
21:27 pmurias * make 'make test'
21:27 dlocaus make test, doesn't use the backend lisp impmemnetations
21:28 dlocaus and yes, I did update Makefile.PL for kp6_mp6
21:28 dlocaus or rather the perl5 backend, I just got finished doing the whole recompile
21:28 pmurias line 150 in Makefile.PL
21:29 dlocaus oh argh!
21:31 polettix joined #perl6
21:32 spinclad (run_tests_kp6_kp6.pl wasn't updated to use script/kp6)
21:33 dlocaus pmurias: k, got it.
21:33 dlocaus I'm committing now
21:38 pugs_svn r18834 | dlo++ | [kp6]
21:38 pugs_svn r18834 | dlo++ |
21:38 pugs_svn r18834 | dlo++ | Test::Harness 3.0 came out Nov 7th, 2007.  Test::Harness 3.0 uses a { exec => [ $program, @args ] }
21:38 pugs_svn r18834 | dlo++ | and is incompatiable with "$ENV{HARNESS_PERL} = $^X || ...".  These run-tests
21:38 pugs_svn r18834 | dlo++ | executions were refactored into script/run_tests.pl
21:38 pugs_svn r18834 | dlo++ |
21:38 pugs_svn r18834 | dlo++ | script/run_tests_kp6_mp6.pl
21:38 pugs_svn r18834 | dlo++ | script/run_tests_kp6_mp6_lisp_clisp.pl
21:39 pugs_svn r18834 | dlo++ | script/run_tests_kp6_mp6_lisp_ecl.pl
21:39 pugs_svn r18834 | dlo++ | script/run_tests_kp6_mp6_lisp_sbcl.pl
21:39 pugs_svn r18834 | dlo++ |
21:39 dlocaus @karma dlo
21:39 lambdabot dlo has a karma of 135
21:39 pugs_svn r18834 | dlo++ | The Makefile.PL was updated to execute the correct backend for
21:39 pugs_svn r18834 | dlo++ |
21:39 pugs_svn r18834 | dlo++ | "make test"
21:39 pugs_svn r18834 | dlo++ |
21:39 pugs_svn r18834 | dlo++ | TESTS was deleted, and these "extra" tests were added on as a __DATA__ section
21:39 pugs_svn r18834 | dlo++ | in script/run_tests.pl
21:39 pugs_svn r18834 | dlo++ |
21:39 pugs_svn r18834 | dlo++ | run_tests.pl also got a documentation update!
21:39 pugs_svn r18834 | dlo++ |
21:39 pugs_svn r18834 | dlo++ | dlocaus on #perl6 at irc.freenode.net
21:43 pugs_svn r18835 | dlo++ | [kp6] there are no more p5 tests, script/run_test.pl no longer has any reference to them, dlocaus on #perl6 irc.freenode.net
21:49 Limbic_Region joined #perl6
21:52 pugs_svn r18836 | dlo++ | [kp6] fixed verbos(ity) function (wrong word from TAP::Harness); and remove --debug TAP::Harness does not support it.
21:54 dlocaus well, I'm off, to work on another project.  back tomorrow!
21:54 * dlocaus waves
21:54 dlocaus left #perl6
21:56 * pmurias waves back
21:59 IllvilJa joined #perl6
22:12 HiTech69 joined #perl6
22:44 theorbtwo joined #perl6
22:48 b2gills left #Perl6
22:59 DarkWolf84 joined #perl6
23:10 thoughtpolice joined #perl6
23:12 hanekomu joined #perl6
23:22 jMCg joined #perl6
23:23 jMCg Hello boys and girls.
23:23 jMCg I'm having some trouble getting pugs to compile [from trunk, or whatever you call it, as there's no tags/branches]
23:24 jMCg http://dpaste.com/24913/
23:25 jMCg ghc version 6.8.1, perl v5.8.8 built for i686-linux-thread-multi, I forgot to paste those.
23:34 luqui joined #perl6
23:41 luqui_ joined #perl6
23:45 bsb joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo