On my perl-5.10 I had Test-Harness-2.64. I updated to version 3.10, and Math-Pari still builds and tests flawlessly for me.
I investigated further, here's my report:
With perl5.8.8 make test runs fine, with 5.10.0 (and blead) it doesn't. Both perls use the same version of ExtUtils::Command::MM (6.44) and Test::Harness (3.10). Furthermore I isolated the test file which seem to cause this strange error, it's t/55_objets.t (sic!). This test file uses test_eng/Testout.pm, which loads pari-2.1.7/src/test/32/objets (at least on my system). I reduced this file to
realprecision = 38 significant digits
echo = 1 (on)
? truncate(1.7,&e)
1
? \p57
realprecision = 57 significant digits
? length(divisors(1000))
16
? \q
Now we run the t/5_objets.t test file:
$ PERL_DL_NONLAZY=1 /opt/perl-33445/bin/perl5.11.0 "-MExtUtils::Comman
+d::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/55_objets.t
t/55_objets...... All 3 subtests passed
Test Summary Report
-------------------
Files=1, Tests=3, 0 wallclock secs ( 0.00 usr 0.00 sys + 0.04 cusr
+ 0.02 csys = 0.06 CPU)
Result: FAIL
Failed 1/1 test programs. 0/3 subtests failed.
That's all for today, maybe it could help the
Math::Pari people to find the
bug.
-- Frank
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.