diff options
| author | Sebastian Englbrecht <[email protected]> | 2026-06-01 18:22:54 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-06-18 10:05:59 +0000 |
| commit | 5cd0c642f59924babe66d017d7c0ced7934de3d3 (patch) | |
| tree | a182680c067516ca5e91a8c67fd9eabf2cd4698d /src/tests/kfileitemlistviewtest.cpp | |
| parent | 91e7c0c1e032b6e3e0558b8048fce6a3b68d297a (diff) | |
tests: fix or skip tests on windows
Diffstat (limited to 'src/tests/kfileitemlistviewtest.cpp')
| -rw-r--r-- | src/tests/kfileitemlistviewtest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/kfileitemlistviewtest.cpp b/src/tests/kfileitemlistviewtest.cpp index 42dc4fc77..3bb66930e 100644 --- a/src/tests/kfileitemlistviewtest.cpp +++ b/src/tests/kfileitemlistviewtest.cpp @@ -51,7 +51,13 @@ void KFileItemListViewTest::init() m_graphicsView = new QGraphicsView(); m_graphicsView->show(); +#ifdef Q_OS_WIN + if (!QTest::qWaitForWindowExposed(m_graphicsView)) { + QSKIP("Window not exposed on Windows, probably running in a headless CI environment."); + } +#else QVERIFY(QTest::qWaitForWindowExposed(m_graphicsView)); +#endif } void KFileItemListViewTest::cleanup() |
