Ignore recurrent wxQt test failure in Grid::ResizeScrolledHeader

This test keeps failing, mostly (but not only) with Qt 6.10, so disable
it until this can be investigated.
This commit is contained in:
Vadim Zeitlin
2025-11-21 17:38:46 +01:00
parent 84e8be1263
commit 1efc0895a5

View File

@@ -1679,6 +1679,16 @@ TEST_CASE_METHOD(GridTestCase, "Grid::ResizeScrolledHeader", "[grid]")
wxYield();
#ifdef __WXQT__
if (m_grid->GetColSize(0) != startwidth + draglength)
{
WARN("Ignoring known test failure under Qt: column width is "
<< m_grid->GetColSize(0) << " instead of expected "
<< startwidth << " + " << draglength);
return;
}
#endif // __WXQT__
CHECK(m_grid->GetColSize(0) == startwidth + draglength);
#endif
}