Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Hello monks,

Before I file an issue report I seek to check my sanity here. I just got a Fail from CPAN testers for a recent update to a module that implemented Test::Exception.

------------------------------ PROGRAM OUTPUT ------------------------------ Output from 'C:\strawberry5143\c\bin\dmake.exe test': C:\strawberry5143\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "te +st_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/10_obj_and_params.t ............... ok t/20_valid_drupal.t ................. ok t/30_build_and_validate_test_db.t ... ok Bareword "xception" not allowed while "strict subs" in use at C:/straw +berry5143/perl/vendor/lib/Test/ line 4. Compilation failed in require at t/40_fetch_memberships.t line 14. BEGIN failed--compilation aborted at t/40_fetch_memberships.t line 14. t/40_fetch_memberships.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests t/50_term_object_params.t ........... ok t/55_term_object_functions.t ........ ok t/60_membership_object_params.t ..... ok t/65_membership_object_functions.t .. ok t/70_stats_object_parameters.t ...... ok t/75_stats_functions.t .............. ok t/release-pod-coverage.t ............ skipped: these tests are for rel +ease candidate testing t/release-pod-syntax.t .............. skipped: these tests are for rel +ease candidate testing Test Summary Report ------------------- t/40_fetch_memberships.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=12, Tests=36, 7 wallclock secs ( 0.04 usr + 0.12 sys = 0.16 C +PU) Result: FAIL Failed 1/12 test programs. 0/36 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic'


  • Two tests before, and two tests after, which pass, also use Test::Exception.
  • The test report shows it is using Test::Exception v0.31, whereas the current version is 0.40.
  • All tests passed on Strawberry Perls 5.10.1, 5.16.1 and 5.16.2

Any suggestions would be very welcome.

The way forward always starts with a minimal test.

In reply to Test::Exception error on Strawberry Perl 5.14.3 ('Bareword "xception" ...') by 1nickt

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (2)
    As of 2019-08-23 23:56 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found