Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • It's failing currently. I'll see if I can fix it :)

    C:\cygwin\home\Administrator\Works\Perl\Devel-AssertLib\dagolden>nmake test

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

                    C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
    t/found..........'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.
    # Failed test 'lib => 'm''
    # at t/found.t line 29.
    # got: 'Can't build and link to 'm'
    # BEGIN failed--compilation aborted at (eval 10) line 2.
    # '
    # expected: ''

    # Failed test 'lib => ['m', 'kernel32']'
    # at t/found.t line 29.
    # got: 'Can't build and link to 'm', 'kernel32'
    # BEGIN failed--compilation aborted at (eval 12) line 2.
    # '
    # expected: ''
    # Looks like you failed 2 tests of 3.
    t/found.......... Dubious, test returned 2 (wstat 512, 0x200)
      Failed 2/3 subtests
    # Failed test 'missing 'foo' detected'
    # at t/not_found.t line 24.
    # 'Can't build and link to 'm', 'foo'
    # BEGIN failed--compilation aborted at (eval 11) line 2.
    # '
    # doesn't match '/^Can't build and link to 'foo'/ms'
    # Looks like you failed 1 test of 9.
    t/not_found...... Dubious, test returned 1 (wstat 256, 0x100)
      Failed 1/9 subtests

    Test Summary Report
    t/found.t (Wstat: 512 Tests: 3 Failed: 2)
        Failed test number(s): 2-3
        Non-zero exit status: 2
    t/not_found.t (Wstat: 256 Tests: 9 Failed: 1)
        Failed test number(s): 5
        Non-zero exit status: 1
    Files=3, Tests=13, 1 wallclock secs ( 0.01 usr + 0.04 sys = 0.05 CPU)
    Result: FAIL
    Failed 2/3 test programs. 3/13 subtests failed.
    NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x1'
    • Ah! The old "spaces in the PATH" trick. Either converting the system() call to array or else just calling the programs by their name instead of full path (after confirming they can be found in the full path) will probably do the trick.

      Thanks for looking into it so quickly.

      -- dagolden

    • It gets worse. Get the name of the compiler right (it has spaces in the name) and

      C:\cygwin\home\Administrator\Works\Perl\Devel-AssertLib\dagolden\bazbam.c ANDYARMSTRO89E4\Administrator:F
      • Damn. Well, thanks very much for manually smoking this for me. I'll have to see about getting AS/MSVC up in a virtual machine and working this problem from there.

        -- dagolden