Stabilize tests
This MR makes the KStars tests stable, so that they may be executed repeatedly with make test
, including UI tests.
Running UI tests require a display, a xvfb
virtual frame buffer for instance.
Some tests related to PHD2 are adjusted with expected failures that will need further fixes in another context.
When using make test
, it is necessary to redefine the maximum allowed duration controlled by the environment variable QTEST_FUNCTION_TIMEOUT
to a large value, say 600000 (milliseconds).