(sorry if this is a double post for you, I had a bad cc line for
perl6-internals)
Problem is the diag message warning users that it will take a while (and
it does - on a p4 with 2 gigs of ram i gave up after a few minutes, but
didn't get a chance to see where/why it was so slow) is that it doesn't
print before or during the 3rd test - so they have no idea why this
particular test is stuck or that it should take a while. I should
probably follow this up with some patches or something...(see what I can
do)
~mcummings
> Problem is the diag message warning users that it will take a while
> (and
> it does - on a p4 with 2 gigs of ram i gave up after a few minutes
On that hardware it certainly shouldn't need minutes to finish. It's
just strange:
$ time perl -Ilib t/perl/manifest.t
1..3
ok 1 - MANIFEST exists
ok 2 - MANIFEST.SKIP exists
# this may take a while...
ok 3 - manicheck()
real 0m6.796s
This is on a PowerBook G4 with 1.2 GHz - certainly not a fast system,
~7 seconds for the test is a pita (if you run it really a lot per day,
but else not a problem)
With ...
$ time perl t/harness t/perl/manifest.t
t/perl/manifest....ok 2/3# this may take a while...
... I see the diag message too, but it may be OS dependent ... hmm ...
no problem on x86 linux (and a lot faster (1 sec) than on OS/X).
Which OS are you using?
> ~mcummings
leo
t/perl/manifest......................Can't exec "svk": No such file or
directory at t/perl/manifest.t line 38.
ok
1/3 skipped: Not a working copy
Not a patch, but a better explanation of the problem. There is a false
assumption in the t/perl/manifest.t test that svk is installed only if
your dealing with parrot from svn :) svk ls . on a directory that isn't
actually checked out from svn (say, on a dir from the tarball that was
released as 0.4.0 publicly) results in a long, long, long pause...
thanks for reporting.
~jerry
> This is on a PowerBook G4 with 1.2 GHz - certainly not a fast system,
> ~7 seconds for the test is a pita (if you run it really a lot per day,
> but else not a problem)
>
> With ...
>
> $ time perl t/harness t/perl/manifest.t
> t/perl/manifest....ok 2/3# this may take a while...
>
> ... I see the diag message too, but it may be OS dependent ... hmm ...
> no problem on x86 linux (and a lot faster (1 sec) than on OS/X).
>
> Which OS are you using?
Gentoo linux (ask away - I maintain the installation of parrot for
gentoo - stock make/make install sequence, no add-on patches, etc.)
Follow up message narrows this down I think - has to do with not using a
subversion checkout of parrot, but having svk on the box.
Thanks for the detailed analyzes. I've now cleaned up the manifest.t
(r10386). It turned out that the whole check for svn/svk is absolutely
not needed in the test.
leo
Would that have helped? svk doesn't use .svn directories.
-- c