On Thu, 2006-09-07 at 02:06 -0700, Ovid wrote:

> > >From running it against a few test suites and getting some strange
> > results, it seems like TAPx::Parser doesn't like lines like
> >
> >  ok 3 # comment
> >
> > It flags the corresponding result as being of type "unknown".
> 
> Unescaped hash marks are not allowed in test lines unless they begin a
> TODO or SKIP directive.  Can you show the code which is producing this
> broken output?  Is it something in Perl, maybe some hand-rolled stuff?

Yeah, this is hand-rolled stuff.  One example:

  http://search.cpan.org/src/TSCH/Glib-1.140/t/7.t

As the comment in there says ...

  we do not use Test::More or even Test::Simple because we need to test
  order of execution...  the ok() funcs from those modules assume you
  are doing all your tests in order, but our stuff will jump around.

> If this works, mind if I include it in the distribution?

Nope, go ahead.

-- 
Bye,
-Torsten

Reply via email to