Refactor server startup and shutdown
authorMatt S Trout <mst@shadowcat.co.uk>
Wed, 22 Jun 2011 12:13:08 +0000 (13:13 +0100)
committerMatt S Trout <mst@shadowcat.co.uk>
Wed, 22 Jun 2011 12:13:08 +0000 (13:13 +0100)
commitb05fc1434946d201dd7b657ff2eeacb9cf4bfd97
tree81b6e436294b92f5576a532d634f6b9b5c923bf4
parent8b643e0b767dd83d14831c9398b57324f17bd006
Refactor server startup and shutdown

- split start and start_xvnc to allow for only starting selenium
- switch from system to exec in child processes so destructors don't run twice
- handle not invoking ssh when starting things on localhost
- wrap an eval round the shutdown get() in case of failure
lib/Test/Harness/Selenium.pm