Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Comment on

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

Threading or (pseudo-)forking? (It kinda looks like you have two threads running the tests simultaneously.) Or just confused test numbers?

Either way, you are getting the same test numbers twice in the test stream:

... ok n ok n ok n+1 ok n+1 ...

I ran into this a lot when writing tests that fork. Mostly I resolved it by manually increasing the test count and waiting for the children to terminate:

# in the parent, while a child is running $n tests: my $Test = Test::More->builder; $Test->current_test( $Test->current_test + $n ); wait;

Could we perchance see the .t code that produces these complaints?

Update: As andreas1234567's code demonstrates, the error message does not mean what I thought it meant (and still think it says). An "ok 2" followed by an "ok 1" will produce "test 2 answered after test 2". (And an "ok 1" followed by another "ok 1" are quietly accepted as two different tests. Bah.)

Oh well, it's still a case of test numbers coming in the wrong order. (And meanwhile, a new harness is on its way ...)

print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!

In reply to Re: Odd output from Test::More by Sidhekin
in thread Odd output from Test::More by Bloodnok

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
    [Corion]: Your Mother: I think that's because (in the west) the Nazi-Germans are recognized as universally evil. Of course, you could do some number games to calculate other measures of evil than "historic losers of second world war" to come up with other evils:)
    [Corion]: I've heard "Troll" described as the new Punk, and in a way, it can be as destructive as living the Punk lifestyle, and you don't have to sit out in the cold...
    [LanX]: Anti-Germans
    [LanX]: Socrates was a Troll
    [Your Mother]: It's very, very dangerous... Thinking that a group is intrinsically evil... buries the fact that all humans can be so deep that it starts to become likely they will be.
    [Your Mother]: LanX++
    [Corion]: (also the "troll for trolls sake" could seen be much like the "punk for punks beer")
    [Your Mother]: I'm completely (historically anyway) a troll in real life. It's not fun online, you can't really win. :P
    Happy-the-monk orders a Punk IPA.
    [Your Mother]: Also, I'm too old to start fights with strangers anymore.

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (16)
    As of 2018-03-19 13:45 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (240 votes). Check out past polls.