Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: atf for libcurses

On Wed, Nov 10, 2010 at 02:50:37AM +0000, David Holland wrote:
> Rendering the test output should be straightforward (provided that the
> test terminal types are defined with a little care) -- the only
> difficulty I can see is figuring out which points in the input stream
> correspond to completed updates where a screendump should be generated
> and compared.

Well, one could just pull out the "compare" keywords from the test
files, grab the given check file - this will give you the expected
output.  Pump that through a stream editor of some sort that picks up
the terminfo codes for the "atf" terminal and translates them into
another terminals codes.  I managed to slap together a limited version
of this simply by using sed.

I won't be implementing this particular bicycle storage facility any
time soon.  The lugs are there on the side so it could be attached
easily if someone has a spare weekend.  I a quite prepared to be awed
by the person who can manage to reliably check the blink attribute is

Brett Lymn
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer."

Home | Main Index | Thread Index | Old Index