Remember to not get caught assuming all tests must fit into the Google Test concept of a test. CMake only requires that a "test" be a command which can run and return success/failure. So it is relatively easy to script nested servers for that.
The difficulty then is to do so in a way that the outer server does not touch the graphics hardware. We need a stub graphics platform and/or one that can feed back into Google Test for convenience. But remember Google Test is just one option.
Remember to not get caught assuming all tests must fit into the Google Test concept of a test. CMake only requires that a "test" be a command which can run and return success/failure. So it is relatively easy to script nested servers for that.
The difficulty then is to do so in a way that the outer server does not touch the graphics hardware. We need a stub graphics platform and/or one that can feed back into Google Test for convenience. But remember Google Test is just one option.