On Thu, Sep 20, 2001 at 12:42:13AM +0100, Robin Houston wrote:
I only had one real problem with Parrot on Darwin, which really has
nothing to do with Darwin at all. The first time I tried to make test
I got a slew of errors about Test::More, so I diligently went to CPAN
and downloaded the latest version.
The latest version of the Test-More tarball should have blown up in
your face with a big Don't use this, download Test-Simple instead!
to prevent exactly this sort of thing from happening. For some reason
that last version doesn't seem to have made it into
modules/by-module/Test/, it's just sitting in my author directory.
Sorry for the inconvenience, I'll go poke the CPAN folks.
Are there any plans to remove the dependency of Parrot::Test on
non-core modules? It's bound to be a stumbling block for quite
a few people, surely? If not, I'll contribute a patch which
makes the failure more graceful and informative.
These actually are core, but not until 5.7.2. And we don't want to
take a Great Leap Backward to Test.pm.
For *exactly* such a contingency (I sound like an Acme saleman now) we
have Test-SDK (remember the SDKs?) which includes new-enough versions
of Test::More, Test::Simple, Test::Inline and Test::Harness in one
handy, easy to install tarball for those of you that don't use the
CPAN shell.
As a third alternative, you can simply distribute Test::Simple/More
(and even the new versions of Test::Harness) as part of parrot, same
as you do Parrot::Test. That involves the least work for the test
runner.
I'd suggest creating a lib/ directory and moving Parrot/ into it now
before you get a proliferation of individual Perl module directories.
And change the Makefile to this:
PERL = perl
PERLRUN = $(PERL) -Ilib
test:
$(PERLRUN) t/harness
and the other targets that use $(PERL) change to $(PERLRUN).
I could do this myself. What's the best way to submit a bunch of
file/directory moves?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
purl Hey, Schwern! THERE IS A HUGE GAZORGANSPLATTEDFARTMONGERING-
LIGHTENINGBEASTASAURSOPOD BEHIND YOU! RUN, BEFORE IT GAFLUMMOXES YOUR
INNARDLYBITS!