Subject: | Allowing Automated CPAN Tests |
Dear Daniel Podolsky,
Hi. This is imacat from Taiwan. I'm current acting as a CPAN tester
and running tests for all the uploaded CPAN packages daily.
It seems that your Term-Screen-Uni-0.04 does not allow automated
tests. It keeps wating key press from the console. In the case of
automated tests that STDIN is closed, nothing can be returned from
getch() and hence it enters an infinite loop.
As a CPAN tester testing 40-50 modules per day, I really cannot test
every package and check their input alone. Having such a package that
does not satisfy without STDIN really frustrate me as it uses up all my
CPU and system resources that I can contribute to other packages that
need more tests.
Could you please help solving this issue, by allowing that if
nothing was obtained from getch() then stops testing? Thank you very
much. You are greatly appreciated by the large CPAN family.
I attached the last terminal screen below, in the hope that it
helps. The automated tests hangs here. Please tell me if you need any
more information. Thank you
Test series for Screen.pm module for perl5
====================
1. Should be at row 2 col 3 (upper left is 0,0)
2. Last position -- should be 2 50.
3. Screen size: rows and columns.
4. Testing reverse mode, bold mode, and both together.
5. Testing clreol - The next 2 lines should end at col 20 and 30.
0---------10--------
0---------10--------20--------
0---------10--------20--------30--------40--------50--------60--------70-------
6. Clreos - Hit a key to clear all right and below:
7. Test insert and delete line - 15 deleted, and ...
13--------10--------20--------30--------40--------50--------60--------70-------
... this is where line 14 was
14--------10--------20--------30--------40--------50--------60--------70-------
16--------10--------20--------30--------40--------50--------60--------70-------
8. Key_pressed - Don't Hit a key in the next 5 seconds: HEY A KEY WAS HIT
Hit a key in next 15 seconds: KEY HIT!
====================