#310 t/pdl_from_string.t fails subtest for MSVC build

core (120)

It appears that t/pdl_from_string.t has 3 failing subtests for
some win32 builds using MSVC compiler and nmake:

Test Summary Report
t/pdl_from_string.t (Wstat: 768 Tests: 111 Failed: 3)
Failed tests: 34-35, 40
Non-zero exit status: 3
Files=121, Tests=1168, 59 wallclock secs ( 0.61 usr + 0.23 sys = 0.84 CPU)
Result: FAIL
Failed 1/121 test programs. 3/1168 subtests failed.

This is preventing PDL-2.4.11 PPD from building on the
Activestate perl build farm. Here is a failing test log:


and see this link for the test matrix:


and this is a CPAN Testers report that appears to be
the same failure:


Marking this as Critical since this subtest failure
results in win32 looking like PDL doesn't build
when in fact this is the *only* failure....


  • Chris Marshall

    Chris Marshall - 2012-07-22
    • priority: 5 --> 9
  • Sisyphus

    Sisyphus - 2012-07-23

    Odd - tested fine for me on ActivePerl using my MS compilers.
    I even use the same compiler as AS do for their x64 builds, and I used the same (default) build options as they would have used. (Do their x64 builds also fail ?)
    Their 32-bit builds use MSVC++ 6.0 which I don't have - I use 7.0, So perhaps the problem lies with what 6.0 does.
    It's hard to work out what needs to be done, given the lack of information regarding these test failures.
    One thing we need to do is to have the test script print out the values of $infty, $min_inf, $nan and $nan2, Then at least we could see what they have.

    Note that I have test failures for this script with ActivePerl for the current git version of PDL. I guess these breakages will have to be sorted out at some stage. (I had originally thought that it was just changes to the test script that had created these latest failures, but re-visiting the 2.4.11 build has shown me that it runs deeper than that.)


  • Sisyphus

    Sisyphus - 2012-07-23

    Oops... the the test script already shows us what they got for $infty and $inf_minus. And those values look right.
    The 3 failing tests have in common that they check for inf * 0.0 != 0.0
    I'm guessing that's what causes the tests to fail.
    We need to see what they got for that part of the test.


  • Chris Marshall

    Chris Marshall - 2013-01-11

    Email from Rob shows that PDL git now builds for many versions of perl and MSVC on windows. Marking this ticket as pending and Rob as Assigned. Will close once confirmed. Thanks for the work tracking this down.

  • Chris Marshall

    Chris Marshall - 2013-01-11
    • assigned_to: nobody --> sisyphus_
    • status: open --> pending-fixed
  • Chris Marshall

    Chris Marshall - 2013-07-06

    PDL-2.006 is passing the ASPerl build farm builds now.

  • Chris Marshall

    Chris Marshall - 2013-07-06
    • status: pending-fixed --> closed-fixed

Log in to post a comment.