Dusting out vms/test.com

2001-11-05 Thread Michael G Schwern
t/IO/lib/IO/t/io_xs.t ext/NDBM_File/ndbm.t ext/ODBM_File/odbm.t ext/POSIX/t/posix.t lib/IPC/Open2.t lib/IPC/Open3.t lib/ph.t lib/File/Temp/t/posix.t (I think this skip is a mistake) -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <

Re: Dusting out vms/test.com

2001-11-05 Thread Michael G Schwern
lib" "t/op/my_stash.t" > > or, from within Perl I keep getting: $ MCR SYS$DISK:[]perl. -"Ilib" op/my_stash.t %DCL-W-ACTIMAGE, error activating image PERLSHR -CLI-E-IMGNAME, image file $1$DKB300:[SCHWERN.][BIN.AXP]PERLSHR.EXE;5 -SYSTEM-F-SHRIDMISMAT, ident mismatch

Re: ext/POSIX/t/posix.t #10 on VMS (was Re: VMS failures)

2001-11-14 Thread Michael G Schwern
$PATH.* -RMS-F-SYN, file specification syntax error $ mcr masksigs.obj %DCL-W-ACTIMAGE, error activating image MASKSIGS.OBJ -CLI-E-IMAGEFNF, image file not found $2$DKA0:[SYS0.SYSCOMMON.][SYSEXE]MASKSIGS.OBJ; -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Per

Fwd: [Tim.Regan@compaq.com: RE: Thank you for TestDrive, from Perl]

2001-11-15 Thread Michael G Schwern
rom Perl Thread-Index: AcFuArrjNhvXoloyTFS3v9fC4uWzEgAAZd7A From: "Regan, Tim" <[EMAIL PROTECTED]> To: "Michael G Schwern" <[EMAIL PROTECTED]> X-OriginalArrivalTime: 15 Nov 2001 18:35:07.0032 (UTC) FILETIME=[3FAD2180:01C16E04] Thank-you for the note. Positive notes l

Re: Make Schwern Poor before 5.8.0

2001-11-19 Thread Michael G Schwern
On Mon, Nov 19, 2001 at 09:05:35AM -0500, Ryan King wrote: > On 2001.11.19, Michael G Schwern <[EMAIL PROTECTED]> wrote: > > On Mon, Nov 19, 2001 at 12:22:09AM -0800, Russ Allbery wrote: > > > > http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?UntestedModules

MakeMaker vs File::Spec (was Re: Make Schwern Poor before 5.8.0)

2001-11-19 Thread Michael G Schwern
(Note to self: Check this tomorrow) The core contains the only official version of MakeMaker. I tried to move it to CPAN a few months ago, but got scared because of the lack of tests. There's an alpha still sitting in my CPAN author directory. Kurt was supposed to give this another whack. Just f

Re: ext/POSIX/t/posix.t #10 on VMS (was Re: VMS failures)

2001-11-14 Thread Michael G Schwern
interesting if you need to link in other modules. I have enough interesting to last me to the end of the month, thanks. :) -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One GOD made us funky!

Re: Starting with a test > 1

2001-09-26 Thread Michael G Schwern
tests. Second, Test::Harness allows you to use unnumbered tests, however, there's currently no support for this in Test::Simple/More. It's on the TODORSN list. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance &l

Re: Starting with a test > 1

2001-09-26 Thread Michael G Schwern
ng the whole thing at the moment to provide easier access to the behind the scenes stuff. Lots of people have been asking for the ability to tweak little things like this. If Enterprise turns out to suck, maybe I'll get something out tonite. -- Michael G. Schwern <[EMAIL PROTECTED]>

Re: [PATCH] Test::More isa_ok function

2001-09-28 Thread Michael G Schwern
implementing the chop() function? -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One It sure is fun masturbating. http://www.unamerican.com/

Essential Modules

2001-09-28 Thread Michael G Schwern
mming. This is the list of stuff that Must Work and when the time comes for 5.8 release candidates we can check them all out. (Or you can start early). Add your modules to the Wiki http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?EssentialModules -- Michael G. Schwern <[EMAIL PROTECTED]&

Archive::Tar, Archive::Zip and Compress::Zlib need help

2001-09-28 Thread Michael G Schwern
. If anyone is seriously interested in helping out the authors, please contact them. Or better yet, surprise them with a patch! Archive::TarStephen Zander <[EMAIL PROTECTED]> Archive::ZipNed Konz<[EMAIL PROTECTED]> -- Michael G. Schwern <[EMAIL PROT

Re: Archive::Tar, Archive::Zip and Compress::Zlib need help

2001-09-29 Thread Michael G Schwern
u're actively maintaining it and it seems to be humming along ok. Unless you *do* need the help, in which case just yell right along side the rest of us. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]>

Re: Essential Modules

2001-09-29 Thread Michael G Schwern
load policy. Of course, if someone else wants to maintain this thing, let me know--they're very troublesome. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One That which stirs m

Re: Essential Modules

2001-09-29 Thread Michael G Schwern
#x27;t have to maintain it. :) -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One I have studied Japanese for ten years. I have to admit Japanese people are very nice and thoughtful.

Re: Starting with a test > 1

2001-09-29 Thread Michael G Schwern
ormal test ok - forked test 1 (PID 3245) ok - forked test 2 (PID 3245) ok - forked test 1 (PID 3246) ok - forked test 2 (PID 3246) ok - forked test 1 (PID 3247) ok - forked test 2 (PID 3247) ok 9 - last two ok 10 - normal tests -- Michael G. Schwern <[EMAIL PROT

Make Schwern Poor before 5.8.0

2001-11-18 Thread Michael G Schwern
Here's something that would be nice to get done, finish off testing last three dozen modules and let YAS have $500 of my money. http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?UntestedModules It's almost like that game show, "Win Lincoln Stein's Money" Remem

Re: Make Schwern Poor before 5.8.0

2001-11-19 Thread Michael G Schwern
On Mon, Nov 19, 2001 at 12:22:09AM -0800, Russ Allbery wrote: > > http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?UntestedModules > > It looks like Pod::Find and Pod::Checker have tests already in the current > tree in t/pod. Ok, scrub them off the list. > Pod::In

[PATCH t/io/argv.t vms/test.com t/test.pl] argv.t cleanup & fixes for VMS

2001-11-06 Thread Michael G Schwern
STDIN, $devnull or die $!; @ARGV = (); -eof() or print 'not '; -print "ok 12\n"; +ok( eof(), 'eof() true with empty @ARGV' ); @ARGV = ('Io_argv1.tmp'); -!eof() or print 'not '; -print "ok 13\n"; +ok( !eof() ); @ARGV = ($devnull

Re: [PATCH t/io/argv.t vms/test.com t/test.pl] argv.t cleanup & fixes for VMS

2001-11-06 Thread Michael G Schwern
On Wed, Nov 07, 2001 at 06:49:58AM +0200, Jarkko Hietaniemi wrote: > My patch(1) doesn't like this at all. Blarg. Maybe things got twisted with all the little t/test.pl patches and the ftping back and forth. Lemme try a fresh Perl. -- Michael G. Schwern <[EMAIL PROTECTE

Re: [PATCH t/io/argv.t vms/test.com t/test.pl] argv.t cleanup & fixes for VMS

2001-11-06 Thread Michael G Schwern
On Wed, Nov 07, 2001 at 01:56:40AM -0500, Michael G Schwern wrote: > On Wed, Nov 07, 2001 at 06:49:58AM +0200, Jarkko Hietaniemi wrote: > > My patch(1) doesn't like this at all. > > Blarg. Maybe things got twisted with all the little t/test.pl patches > and the ftping bac

Cleaning out t/run/kill_perl.t (was Re: Perlbug 19990906.001 - segfault on long escaped quote regex)

2001-10-29 Thread Michael G Schwern
a segfault. 3a) If not, move it to the appropriate place. 3b) If so, and it was a really old perl, move it. 3c) If so, and it was a recent perl, leave it. I suspect the majority will turn out to not be segfaulting on anything like a modern perl. -- Michael G. Schwern <[EMAIL PROTECT

[PATCH t/test.pl] Adding isnt() and next_test()

2001-11-06 Thread Michael G Schwern
n"); +} +_ok($pass, _where(), $name, @mess); +} + # Note: this isn't quite as fancy as Test::More::like(). sub like { my ($got, $expected, $name, @mess) = @_; @@ -104,6 +114,10 @@ sub fail { _ok(0, _where(), @_); +} + +sub next_test { +$test++ } # Note: can't

[PATCH pod/perlhack.pod] When to use what test libraries

2001-11-07 Thread Michael G Schwern
can use the +t/test.pl library which emulates the important features of Test::More +while using a minimum of core features. + +You can also conditionally use certain libraries like Config, but be +sure to skip the test gracefully if it's not there. + +=item t/lib ext lib + +Now that th

Re: Make Schwern Poor before 5.8.0

2001-11-19 Thread Michael G Schwern
n't all these path functions be already somewhere else, f.i. in > > File::Spec and shouldn't it use File::Spec, simply? Or am I something > > missing? -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL P

QA Wiki Working again [was Re: Make Schwern Poor before 5.8.0]

2001-11-19 Thread Michael G Schwern
d my sysadmin lately, I think a trip to Pittsburgh is in order. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One I'm spanking my yacht.

Re: Make Schwern Poor before 5.8.0

2001-11-20 Thread Michael G Schwern
already confused enough without throwing File::Spec into it's family tree. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One The truth is you suck!

Re: Compaq Testdrive

2001-09-22 Thread Michael G Schwern
ands > (or at least the command to start smoking) for automated periodic > smokes. Eek. Net::Telnet. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One "Let's face

Parrot testing going ok?

2001-09-18 Thread Michael G Schwern
I just subscribed to perl6-internals yesterday, so I'm trying to catch up. What's going on with the Parrot tests? It looks like everything's well in hand without me. I have trained you well. :) I'll just stand over here and look happy. -- Michael G. Schwern <[EM

Compaq Testdrive

2001-09-22 Thread Michael G Schwern
, they give you one) for people to play with. Further information can be had here: http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?CompaqTestDrive -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]>

Re: [PATCH] rm t/run/segfault.t; mv t/op/misc.t t/run/kill_perl.

2001-09-02 Thread Michael G Schwern
On Sun, Sep 02, 2001 at 11:56:01AM +0200, Tels wrote: > On 02-Sep-01 Michael G Schwern tried to scribble about: > > Okay, part two of the t/op/misc.t cleanup. This one deletes > > t/run/segfault.t (redundant) and moves t/op/misc.t to the more > > descript

How to test CPAN.pm (was Re: Update on untested modules)

2001-09-02 Thread Michael G Schwern
t then we'll know most of it works. This, of course, assumes CPAN.pm can operate on file URLs without LWP. Which... *looking* it can. If you want to see this sort of thing in action, have a look at: http://www.pobox.com/~schwern/src/CPAN-Smoke-0.02.tar.gz Look at t/Smoke.t and t/Module.t t

Untested libraries update

2001-09-18 Thread Michael G Schwern
et::Domain Net::Netrc Net::Ping Net::POP3 Net::Time open Pod::Checker Pod::Find Pod::Functions (no docs!) Pod::Html Pod::InputObjects Pod::LaTeX Pod::Man Pod::ParseUtils Pod::Select Pod::Text::* Pod::Usage sigtrap Term::Cap Term::ReadLine Tie::Scalar warnings::register (almost no docs) -- Michael

Re: [PATCH] AutoSplit.t (was Re: Untested libraries update)

2001-09-24 Thread Michael G Schwern
out spawning a child process tie STDOUT. Spawning introduces all sorts of nasty cross platform issues. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One sort God kill 9, @ARGV;

Re: Untested libraries update

2001-09-24 Thread Michael G Schwern
nstead. If that can't work, use this: require Test::More; Test::More->import( tests => $tests ); Sorry for the inconvenience. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One BOFH excuse #399: We are a 100% Microsoft Shop.

[PATCH t/op/time.t] Partial cleanup

2001-09-03 Thread Michael G Schwern
iff == $_ } (0, 1, -1, 364, 365, -364, -365)), + 'gmtime() and localtime() agree what day of year'); + # This could be stricter. -if (gmtime() =~ /^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ([ \d]\d) (\d\d):(\d\d):(\d\d) (\d\d\d\d)$/) -

Re: What in t/op can use Test::More and what can't.

2001-09-03 Thread Michael G Schwern
call to an ok function. numconvert.t has much, much more frightening concerns than just adding an ok() function. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Milk is timeless.

Inline tests on core modules?

2001-09-07 Thread Michael G Schwern
going to take a swing at DB.pm later on this week with embedded tests and see how it goes. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One ScHWeRnsChweRNs

Re: [PATCH t/op/misc.t] cleanup

2001-09-02 Thread Michael G Schwern
to have a seperate test script for each test with it's own life support. Finally, since somebody's already done the hard work of setting up a test that can safely handle core-dumping tests in a cross-platform manner, why throw it out? -- Michael G. Schwern <[EMAIL PROTECTED]>

Re: The hitlist of untested modules.

2001-08-28 Thread Michael G Schwern
PS When you write these new tests, use Test::More, please. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One ...and I pull out the Magnum from under the desk where I keep it in

[PATCH pod/perlhack.pod] Yet another improvement to the patching example

2001-08-30 Thread Michael G Schwern
C is B the first active format: - ok( v1.20.300.4000 ne sprintf "%vd", pack("C0U*",1,20,300,4000) ); + ok( v1.20.300.4000 ne sprintf "%vd", pack("C0U*",1,20,300,4000), + "U* not first isn't unicode" ); M

Why use an ok() function and the testing Dummy Mode. (was Re: [PATCH pod/perlhack.pod t/op/pack.t] Fixing bad testing advice)

2001-08-28 Thread Michael G Schwern
On Tue, Aug 28, 2001 at 02:12:46PM +0100, Robin Houston wrote: > Michael Schwern wrote: > > Ah HA! I've been wondering why nobody ever thinks to write a simple > > ok() function for their tests! perlhack has bad testing advice. > > Could you explain the advant

[PATCH t/op/srand.t t/op/rand.t pod/perlfunc.pod MANIFEST] Tests for srand()

2001-09-03 Thread Michael G Schwern
cks whether Perl called srand for you. This should -# be the case in version 5.004 and later. Note: You must still -# call srand if your code might ever be run on a pre-5.004 system! -# -AUTOSRAND: -{ -unless ($Config{d_fork}) { - # Skip this test. It's not likely to be system-specific,

[PATCH t/op/rand.t] Increase the repetitions

2001-09-03 Thread Michael G Schwern
# whether we needed it later. - -my $reps = 1000; # How many times to try rand each time. +my $reps = 1; # How many times to try rand each time. # May be changed, but should be over 500. # The more the better! (But slower.) --

Re: [PATCH t/op/srand.t t/op/rand.t pod/perlfunc.pod MANIFEST] Tests for srand()

2001-09-03 Thread Michael G Schwern
d integer. > > I've added docs to perlfunc that reflect this. > > It truncates integers to ? integers? Errr, you know what I mean. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECT

Test::Harness 2.00_01 alpha

2001-09-28 Thread Michael G Schwern
/~schwern/src/Test-Harness-2.00_01.tar.gz -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Don't treat people this way! Milk & Cheese are indestructible! You are not!

Re: A new lease on life for Perl Refactoring

2001-09-17 Thread Michael G Schwern
ual scribblings by popping the object stack. For us, we can just use RCS. Tag each check-in with info about what we refactored. So a refactoring run would go... Refactor, check-in, refactor, check-in, refactor, check-in, test. With a simple "diffs/refactorings since last good test" co

MacOS X and Solaris/Sparc available for testing

2001-09-25 Thread Michael G Schwern
out the available testing platforms nicely. I've double-checked with the SourceForge guys, we're clear to use their machines for smoking Perl. For more info on SourceForge's compile farm... http://sourceforge.net/docman/display_doc.php?docid=762&group_id=1 -- Mich

is(), undef, '' and 0 (was Re: [PATCH lib/DB.pm MANIFEST lib/DB.t] Add Tests for DB.pm)

2001-11-24 Thread Michael G Schwern
is('', undef ); # ok is() uses eq and undef stringifies to ''. is( $foo, undef ) is a nice idiom, though. Should is() distinguish between undef, 0 and ''? Seeing as how it already does between undef and 0 (accidentally), I guess it wouldn't hurt.

Re: [PATCH MANIFEST lib/ExtUtils/MM_Cygwin.t] Add tests for ExtUtils::MM_Cygwin

2001-11-25 Thread Michael G Schwern
little MM->new instead. This also means... > +# with CFLAGS set, it should be returned > +is( ExtUtils::MM_Cygwin::cflags($args), 'fakeflags', > + 'cflags() should return CFLAGS member data, if set' ); that you can call cflags() and the rest properly as meth

Wiki Wiki not Wiki Working

2001-09-17 Thread Michael G Schwern
amned Wiki working. I've tried the QuickiWiki, which mysteriously refuses to write a file larger than 10K, and ClusterWiki, which is giving me fits trying to get it configured. If anyone has experience with this sort of thing, set up a perl-qa Wiki and we can get started. -- Michael G. Sc

A new lease on life for Perl Refactoring

2001-09-16 Thread Michael G Schwern
and decide if it should be changed to $obj->that. That's it. And the refactoring browser just helps you with the mechanics of that. THAT'S SO EASY! If it works for them, it can work for us. So, I can handle the underlying mechanics no problem. Who's good at GUIs?

What tests are failing on VMS?

2001-09-21 Thread Michael G Schwern
ut them up. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Death follows me like a wee followey thing. -- Quakeman

Re: What tests are failing on VMS?

2001-09-22 Thread Michael G Schwern
(/^(not )?ok (\d+)[^#]*(\s*#.*)?/ && $2 == $next) { my($not, $num, $extra) = ($1, $2, $3); PS Could you please, please, please, take a swing at getting Perl installed on the OpenVMS Compaq testdrive account? This will at lea

Re: What tests are failing on VMS?

2001-09-22 Thread Michael G Schwern
ou please, please, please, take a swing at getting Perl > >installed on the OpenVMS Compaq testdrive account? > > Done. I'll try to post more details in the next day or two. For now > you can run it by logging in and typing the following commands: > > $ sd [.pe

%ENV not tainted! (was Re: What tests are failing on VMS?)

2001-09-22 Thread Michael G Schwern
$ perl -"Twle" "my $foo = (values %ENV)[0]; open(FILE, qq{>$foo})" Name "main::FILE" used only once: possible typo at -e line 1. Whereas on Unix that would cause a taint error. I know environment variables are a bit different on VMS than Unix. Is there any

Re: %ENV not tainted! (was Re: What tests are failing on VMS?)

2001-09-22 Thread Michael G Schwern
On Sun, Sep 23, 2001 at 02:39:32AM -0400, Michael G Schwern wrote: > I just ran the taint tests. It looks like VMS's %ENV is *not* tainted. > > $ perl -"Twle" "my $foo = (values %ENV)[0]; open(FILE, qq{>$foo})" > Name "main::FILE" used only

Re: Untested libraries update

2001-09-21 Thread Michael G Schwern
On Fri, Sep 21, 2001 at 10:57:39AM +0200, [EMAIL PROTECTED] wrote: > How about testing on 127.0.0.1? As insane as it sounds, it might not be there. There might be no IP system at all. Consider DOS. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl

Re: Wiki Wiki Working

2001-09-18 Thread Michael G Schwern
entually getting around to adding it, you can just add it via the Wiki. Then I'll pull the PODs off the Wiki and put them in the next version of Test::Simple. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECT

Wiki Wiki Working

2001-09-17 Thread Michael G Schwern
Got the Wiki working, it seems Opera is at fault, being unable to handle anything more than 10K in a POST. Unfortunately, I don't seem to have anything else servicable. http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi Collaborate! Test::Tutorial and Test::FAQ are up there, let

The problem of test.pl

2001-09-23 Thread Michael G Schwern
author documentation to say to use t/Foo.t instead of test.pl, even if you only have one test file. Alter h2xs and ExtUtils::ModuleMaker to make the stub test be t/Foo.t instead of test.pl. CPAN::Test (formerly CPAN::Smoke), the testing arm of CPANTS, will note the use of test.pl and recommend th

CPAN::Test mistake list on Wiki

2001-09-23 Thread Michael G Schwern
he descriptions and how-to fix recommendations are thin and need fleshing out. And, of course, if you can think of more possible mistakes, add them. http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?CPANTestMistakes -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.c

[ANNOUNCE] Test::Simple/More/Builder 0.32

2001-10-16 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Simple-0.32.tar.gz Version 0.32 of Test::Simple/More/Builder is winging it's way to CPAN. The really important thing about 0.32 is plan(). After months of studiously ignoring this problem, I've finally added a seperate plan() function, so y

Re: Test::Harness::Straps

2001-09-20 Thread Michael G Schwern
On Thu, Sep 20, 2001 at 10:35:49AM -0400, Shane Landrum wrote: > So, I've just found Test::Harness::Straps--- thanks to Skud > for pointing me in the right direction. Anyone else using it? > I'm working on using it to write a web-based test summarizer > for my users. >

Devel::Tinderbox::Reporter

2001-10-01 Thread Michael G Schwern
Here's a quick module that does just enough to send reports to Tinderbox. We should be able to drop this module into mktest of Test::Smoke and have it send reports for each individual config. http://www.pobox.com/~schwern/src/Devel-Tinderbox-Reporter-0.10.tar.gz Here's a little exam

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-08 Thread Michael G Schwern
On Mon, Oct 08, 2001 at 10:20:20AM +0200, Johan Vromans wrote: > But I agree with everyone who says there should be a better, more > generic solution. Debian. ;) -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[

Re: [PATCH Test/Simple.pm Test/More.pm] Add skip_rest() Function

2001-10-11 Thread Michael G Schwern
curious what trouble you ran into with the usual SKIP block. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Only mindless violence can raise my spirits now!

Re: Test::Simple's very slight side effect

2001-10-12 Thread Michael G Schwern
On Fri, Oct 12, 2001 at 11:21:57AM +0900, Tatsuhiko Miyagawa wrote: > It is because Test::More use()s Carp, thus defines Carp::croak at > compile time before loading Bareword::Freaks. Duh. Ok, Test::More will no longer be using Carp. -- Michael G. Schwern <[EMAIL PROTECTED]

[PATCH t/TEST t/harness vms/test.com] Set PERL_CORE environment var

2001-10-17 Thread Michael G Schwern
dir 't' if -d 't'; @INC = '../lib'; } } This will make my life much, much, much easier. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee

Re: [ID 20010910.013] Perl 5.61 compile problem

2001-10-04 Thread Michael G Schwern
oor soul that has to use NCR and tried to build Perl. This is the start of one such thread. It seems like the solution is to turn off all the optimizations. http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-04/msg01180.html -- Michael G. Schwern <[EMAIL PROTECTED]>http:/

Re: is(), undef, '' and 0 (was Re: [PATCH lib/DB.pm MANIFEST lib/DB.t] Add Tests for DB.pm)

2001-11-27 Thread Michael G Schwern
the tests? Ok, just uploaded Test::Simple 0.34 to CPAN which makes undef a beast different from 0 or ''. Let's see how it goes over. http://www.pobox.com/~schwern/src/Test-Simple-0.34.tar.gz -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One local $variable for local @people;

Re: [PATCH MANIFEST lib/ExtUtils/MM_Cygwin.t] Add tests for ExtUtils::MM_Cygwin

2001-11-26 Thread Michael G Schwern
win. If you really want to try them out, you can always just plop C<$^O = 'cygwin'> at the top of your local copy of the test and watch the pretty explosions. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Any sufficiently encapsulated hack is no longer a hack.

Re: [PATCH MANIFEST lib/ExtUtils/MM_Cygwin.t] Add tests for ExtUtils::MM_Cygwin

2001-11-25 Thread Michael G Schwern
On Sun, Nov 25, 2001 at 09:10:32PM -0700, chromatic wrote: > On Sunday 25 November 2001 20:47, Michael G Schwern wrote: > > > $ENV{'ExtUtils/MM_Unix.pm'} ?? Maybe this supposed to be %INC? > > Indeed it is. Never patch while cursing the heavy hand of George Lucas.

Re: [REPATCH MANIFEST lib/ExtUtils/MM_Cygwin.t] use more 'Schwernishness';

2001-11-25 Thread Michael G Schwern
Now wait a second, this means you're not actually testing what ExtUtils::MM_Cygwin->catfile() and cflags() and perl_script() do. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job

Re: [REPATCH MANIFEST lib/ExtUtils/MM_Cygwin.t] use more 'Schwernishness';

2001-11-25 Thread Michael G Schwern
On Sun, Nov 25, 2001 at 10:31:15PM -0700, chromatic wrote: > On Sunday 25 November 2001 22:31, Michael G Schwern wrote: > > > > Porta-paranoia. cflags() and canonpath() are delegated to it. This may > > > be why File::Spec was commingled. > > > Now wai

Test::Simple/Builder/More freeze approaching

2001-11-29 Thread Michael G Schwern
:More. Write a numeric equivalent to is(). Write a version of like() that can emulate: ok( $foo !~ /bar/ ); Finish (start?) Test::FAQ Expand the Test::Tutorial Decide if the exit code behavior on failure is a useful default case. I've only ONCE before had a

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-09 Thread Michael G Schwern
tty low. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One "His plagiarism was limited only by this faulty technique." -- Peter Schickele

Re: MacOS X and Solaris/Sparc available for testing

2001-10-01 Thread Michael G Schwern
On Mon, Oct 01, 2001 at 05:10:52PM -0700, Ask Bjoern Hansen wrote: > [EMAIL PROTECTED] (Michael G Schwern) writes: > > I've double-checked with the SourceForge guys, we're clear to use > > their machines for smoking Perl. > > Do you think you could make them open

Re: Test::Harness::Straps

2001-09-20 Thread Michael G Schwern
AN::Smoke. > Also, total_results doesn't yet work, and I want it to--- related > to the last paragraph. That's what I assume total_results will > give me when it's implemented. Nope, total_results is just a hash of file that have been analyzed and their results. -- M

Re: Parrot::Test need special support in Test::Simple

2001-09-18 Thread Michael G Schwern
why you can't use goto. I'll wedge in a temporary special case for Parrot::Test into 0.19. It's on my TODO list to decouple the guts of Test::Simple from the external functions, so it's easier to write Test modules based on it, but it's about two or three levels down on t

Re: Test::Harness::Straps

2001-09-20 Thread Michael G Schwern
r anything, so > I don't know if that's at all helpful. Wait for 2.00_02. I just have to figure out CVS merging. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Th

Re: [PATCH] Test::More isa_ok function

2001-09-24 Thread Michael G Schwern
reaking > backwards compatibility. What sort of names do you tend to throw in there? -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One "None of our men are "expert

Re: [PATCH] More Test::More stuff

2001-09-24 Thread Michael G Schwern
can get rid of this problem with documentation. I tend to use this idiom. eval { ...code... }; is( $@, '' ); -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One The eye opening delightful morning taste of expired cheese bits in sour milk!

[ANNOUNCE] Test::SDK 0.03

2001-09-22 Thread Michael G Schwern
odule upgrades more closely. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One I will personally promise to glare sternly at such people. -- Jarkko Hietaniemi in <[EMAIL PROTECTED]>

[ANNOUNCE] Test::Simple 0.19

2001-09-18 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Simple-0.19.tar.gz The important thing here is that Test::Simple/More will no longer send diagnostics to STDERR, they will got to STDOUT. This is mostly to make TODO tests quiet, but it also means tests which fail under Test::Harness will also be quiet (ie

Re: Untested libraries update

2001-09-21 Thread Michael G Schwern
scattering ad-hoc $^O tests all over the place. However, that's a big job to get right and we'll do it later. Right now, stick to the cleanups and adding coverage. It also wouldn't hurt to start going through old open perlbug entries. -- Michael G. Schwern <[EMAIL PROT

Re: Untested libraries update

2001-09-20 Thread Michael G Schwern
http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi > Also, how does one test Net::Ping when we can't guarantee a server to ping? We can't. Not unless we can persuade Jarkko to add a "Do you have a working network connection?" Configure question. But we can check that all th

Testing Net::Ping

2001-09-21 Thread Michael G Schwern
returns an object with isa_ok(). Check that the 'tcp', 'udp' and 'icmp' protocols all work. Check that it fails when you hand it garbage. There's also a private method that can be tested. checksum(). Do that much and release it (CCing [EMAIL PROTECTED]).

Re: Parrot::Test need special support in Test::Simple

2001-09-18 Thread Michael G Schwern
On Tue, Sep 18, 2001 at 06:26:03PM -0600, chromatic wrote: > In article <20010918185441.J585@blackrider>, "Michael G Schwern" > <[EMAIL PROTECTED]> wrote: > > > It's on my TODO list to decouple the guts of Test::Simple from the external > > funct

[ANNOUNCE] Test::Simple 0.30 with Test::Builder

2001-09-27 Thread Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Simple-0.30.tar.gz I'm not putting this up on CPAN just yet, want to hear what people think. Dave and Mattia, try it out for your problems (Alzabo and Parrot::Test) and see how it feels. Let me know how it goes. 0.30 Thu Sep 27 22:10:04 EDT

Re: [PATCH] Test::More isa_ok function

2001-09-25 Thread Michael G Schwern
gt; to say _what_ object I'm checking. A, ok. How about this: my $yarrow = Bar->new; isa_ok($yarrow, "Bar", 'yarrow'); not ok 1 - yarrow->isa('bar') # Failed test (foo.plx at line 3) # yarrow isn't a 'Bar' -

Re: Untested libraries update

2001-09-25 Thread Michael G Schwern
On Tue, Sep 25, 2001 at 09:32:17AM +0200, [EMAIL PROTECTED] wrote: > On Fri, 21 Sep 2001, Michael G Schwern wrote: > > > On Fri, Sep 21, 2001 at 10:57:39AM +0200, [EMAIL PROTECTED] wrote: > > > How about testing on 127.0.0.1? > > > > As insane as it sounds, it

[ANNOUNCE] Test::Simple/Builder/More 0.36

2001-11-29 Thread Michael G Schwern
e was using Carp.pm, causing the occasional false positive. (Reported by Tatsuhiko Miyagawa) -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Milk is timeless.

Re: Devel::Tinderclient 0.01, please test

2001-10-01 Thread Michael G Schwern
oes a similar thing, but for cpan-testers. PS Have a look at ExtUtils::ModuleMaker. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One There's so much more to me than my arm.

Re: Devel::Tinderclient 0.01, please test

2001-10-01 Thread Michael G Schwern
thing to collect and summarize build & test reports. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Jesus hates me. http://www.unamerican.com/

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-07 Thread Michael G Schwern
Test::Harness and distribute it with perl. Good luck. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One If you have to shoot, shoot! Don't talk. -- Tuco, "The Good, The Bad And The Ugly"

Re: Test::More and WWW::Chat fighting over fail()

2001-10-07 Thread Michael G Schwern
l over Test::More's imported functions, something I've been neglecting to do. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One BOFH excuse #424: operation failed because: there is no message for this error (#1014)

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-09 Thread Michael G Schwern
On Tue, Oct 09, 2001 at 10:10:33PM +0200, Johan Vromans wrote: > Michael G Schwern <[EMAIL PROTECTED]> writes: > > Debian has the beginnings of that. perl-base is the minimum necessary > > to have a useful Perl, basically a binary, the perl man page, and a > >

Fwd: [jhi@iki.fi: 5.8.0 to-do list]

2001-10-09 Thread Michael G Schwern
n update issue. (6) is just my policy statement and some muttering about the future. -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen - End forwarded message - -- Michael G. Schwern &

is() with arbitrary comparisions

2001-12-10 Thread Michael G Schwern
val "$foo $op $bar"; It all makes sense, so what I really need is a better name. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Tasty, yet morally ambiguous.

<    1   2   3   4   5   >