On Jan 19, 2008 1:30 PM, Stan Sander <[EMAIL PROTECTED]> wrote:
> So, this failed because there was no (or improper) input to the test
> script. Based on the output above, it looks as though input was never
> received. This module is designed to communicate with a specific piece
> of external hardware and the test is interactive. Once input is
> provided for the tty, it is expected that the hardware is attached and
> ready to communicate on that tty, else the remaining test will fail.
>
> What is the best way to make this more tester friendly?
If it really *can't* possibly run without interactivity, put the
following in the top of your Makefile.PL:
if ( $ENV{AUTOMATED_TESTING} ) {
warn "Can't run under automated testing\n";
exit 0;
}
Regards,
David Golden