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