-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Sunday 22 February 2004 18:13, John Beppu wrote:
> [ date ] 2004/02/22 | Sunday | 04:07 PM
> [ author ] Tels <[EMAIL PROTECTED]>
>
> > Moin,
> > having a look at the newly checked out code from sdl-perl, I notice
> > that the BUGS file is about 700 K and contains a lot of garbage. Is
> > this a problem on my end, or a problem in the repository?
>
> I got a huge BUGS file, too.
>
> I asked `file` to analyze it for me, and it said that it was gzipped
> data. Then I gunzipped it, and it when I looked at it in a text editor,
> it looked like a tar file, so I zipped it up again and renamed it
> BUGS.tar.gz. When I looked at the file listing, it looked to me like a
> partial archive of sdl-perl.
>
> I impulsively untarred it, too, and it overwrote a bunch of files in
> place (doh!).
>
> Recommended action:
>
> svn rm BUGS
Yup, and then rewrite it. However, I am waiting for wod from chromatic
before I start hacking on SDL_perl, due to my ancient svn version etc.
I'd like a lot of cleanup to do (the version, f.i. is at v1.20.3!)
> I've been itching for a good chance to use subversion for a while, and
> sdl-perl finally gave me a good excuse. I'm looking at the commands
> that `svn help` displays, and I'm stoked. It's like CVS but better!
:) I never used CVS so I cannot compare this. In any event, I will just use
commit and checkout and thats about it..
> PS: I like the way chromatic did the SDL::Config checks in t/ttfontpm.t.
> I put way too much in the BEGIN block on the patch that I submitted.
> My excuse is that I work on a project that has a module that
> requires certain things to happen in a BEGIN block (or things go
> horribly wrong), so I'm a little BEGIN-happy.
Me too :)
> PPS:
> A general Perl testing question -- Does anybody know how to run
> individual tests in the t/ directory? There have been times when
> I'm working on modules where I just want to run one set of tests
> instead of the whole test suite, but I don't know of any standard
> mechanism that allows that. If anyone could clue me in, I'd really
> appreciate it.
There is "prove" (or so I think). I also set up the tests so that I can run
them via:
perl t/sometest.t
This usualy means:
BEGIN
{
chdir 't' if -d 't';
use lib '../blib/lib/';
use lib '../blib/arch/'; # not necc. for pure perl modules
}
That is not quite portable, so one could use File::Spec. One drawback is
that you always need to do make before running the test and this is cumber
some so I usually do:
BEGIN
{
chdir 't' if -d 't';
use lib '../lib/';
}
to use the version in lib/. (of course that doesnt work for things that need
tobe compiled, e.g. C wrappers etc) For pure perl, it works.
Best wishes,
Tels
- --
Signed on Sun Feb 22 18:24:00 2004 with key 0x93B84C15.
Visit my photo gallery at http://bloodgate.com/photos/
PGP key on http://bloodgate.com/tels.asc or per email.
"Ivonna Humpalot"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
iQEVAwUBQDjmpXcLPEOTuEwVAQET+Af6A8ilBe+eYzBxDcyfjdwzEDrEhVIcsdQK
x0aKYFp+I42PZ90UNS+Rk3yQB2el0MmMpk11DERjaklF3VghOdGwGvfI5cxsUJuj
odVQkkfDWmCugyjT3zhLdbbl5pti9xTL+a4gKd4yzUQoaeV4Q/dp2P9OXeJVqMuZ
T7wOW9IU97kH8UckEJri8i/0TkfCVo5SFW3VWgYxFpv/iRHFSwPEc6AdwGs2kQpa
9+RisEk6drINMRHK/I7n76r67d4DvdSip2vEk0QZZhKHrbDu4EuJap0yRQpqHwHv
/9GZ/FX82Y43Jw2P3d54+vxO6ZpLKbmjXtMpFRERrQlFLZGifpJfAw==
=0z57
-----END PGP SIGNATURE-----