Disable tests requiring a WM under Xvfb
Both iconization and activation of TLWs is dependent on the presence of a WM, but there is no WM running under Xvfb, so skip these tests in this case.
This commit is contained in:
@@ -72,7 +72,11 @@ static void TopLevelWindowShowTest(wxTopLevelWindow* tlw)
|
||||
tlw->Show(true);
|
||||
countActivate.WaitEvent();
|
||||
|
||||
CHECK(tlw->IsActive());
|
||||
// TLWs never become active when running under Xvfb, presumably because
|
||||
// there is no WM there.
|
||||
if ( !IsRunningUnderXVFB() )
|
||||
CHECK(tlw->IsActive());
|
||||
|
||||
CHECK(tlw->IsShown());
|
||||
|
||||
tlw->Hide();
|
||||
|
||||
Reference in New Issue
Block a user