graphics_GLBench: Use existing X session if possible (for factory)
The factory test relies on an X session. If we always restart a X to run
graphics_GLBench, factory test will be killed.
This CL helps GLBench to use existing X session, especially when running under
factory test environment.
TEST=(edit factory test list to enable graphics_GLbench)
Run grahpics_GLBench in factory test, seeing the Green box in left-top
corner; factory test is still running.
Reviewed-by: Nick Sanders <email@example.com>
Reviewed-by: Hung-Te Lin <firstname.lastname@example.org>
Tested-by: Hung-Te Lin <email@example.com>
1 file changed