On Thu Apr 04 13:10:48 2013, MSCHWERN wrote:
Show quoted text> On Tue Mar 13 05:25:59 2007, JSTOWE wrote:
> > Surely this is a bug in something else then rather than in
> > Term::ReadKey
>
> This bug is legit. The output of test.pl is not parsed and the only
> measure is
> its exit code. This has been since way back, there is no specification
> for the
> output of test.pl. Your test.pl is a perfect example, it outputs lots
> of things
> which are not TAP. DBI is an example which uses t/*.t for tests and
> test.pl to
> output some benchmarking.
>
> Other distributions which use test.pl are in the same boat. If they
> use
> Test::More it takes care of setting the exit code on failure.
>
> I would suggest moving the beginning of test.pl which uses TAP up to
> "exit(0)
> unless $interactive;" into t/basic.t or something. The rest can remain
> in
> test.pl.
Okay,
Having thought about it for six years I've decided to do just that, after the next release I'll bump the requirements to use Test::More and leave behind anything before 5.6.2.
The next release will just cover easily fixed issues :)