[Simh] How do we test the emulators?

Vorländer, Martin MV at PDV-SYSTEME.DE
Wed Sep 19 07:34:23 EDT 2007


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
-- 
                    | Martin Vorlaender    |    OpenVMS rules!
  Smiert Spamionem  | work: mv at pdv-systeme.de
                    |   http://www.pdv-systeme.de/users/martinv/
                    | home: martin at radiogaga.harz.de



More information about the Simh mailing list