[Simh] How do we test the emulators?

Davis Johnson davis at frizzen.com
Wed Sep 19 21:27:38 EDT 2007


Vorländer wrote:

>Vince Mulhollon wrote:
>  
>
>>Hittner, David T. wrote:
>>    
>>
>>>What may have to happen is someone might have to write a 
>>>framework that starts up the simulator in a subprocess
>>>and monitors the subprocess(es), and then gracefully shuts
>>>the simulator down after all the tests pass.
>>>      
>>>
>>Sounds like the definition of "expect".
>>
>>expect.nist.gov
>>or
>>en.wikipedia.org/wiki/Expect
>>
>>It's 20 years old, very well documented, and well debugged.
>>It's trivial to install on any usable operating system, just
>>apt-get install expect
>>or as appropriate for your distribution.
>>I understand they have ports for legacy OS's like windows, etc.
>>
>>It would be a shame to reinvent expect in Perl.
>>    
>>
>
>Someone already did it:
>http://search.cpan.org/~rgiersig/Expect-1.21/Expect.pod
>
>cu,
>  Martin
>  
>
I use expect to run a few of the Interdata 32 bit diagnostics on SIMH. 
The setup (building the command file) is a bit tedious, but once done it 
works well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20070919/ad978cd3/attachment-0003.html>


More information about the Simh mailing list