COIN is using patched std::optional header for VxWorks, which is based on 23.09 version of this system, and fixes few compilation and runtime issues, unfortunately it introduced runtime error as well. This error causes std::optional to not destroy contained object in destructor, which is a source of fail in tst_QResourceEngine::cleanupTestCase(). This fail was quieted down using QEXPECT_FAIL for VxWorks, due to exact reason being unknown at the time. It was found out that unpatched version of std::optional header in VxWorks 24.03 fixes most of issues found in 23.09, so there is no need to use old header. Additionally it cleans contained object in destructor properly, so this is the one that should be used. In order to use it, COIN will need to refresh VxWorks images, but this in turn will fail this test with XFAIL. Replace QEXPECT_FAIL with QSKIP in tst_QResourceEngine::cleanupTestCase for VxWorks, update comment accordngly. Once unpatched optional version from VxWorks 24.03 will be used on COIN, skip will be removed entirely. Task-number: QTBUG-130069 Change-Id: Ib446d04b2fabb027dad7af909ac00b7b30e76b53 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit a10acaca0887541207ad5607680d7864d317cf4b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This directory contains autotests and benchmarks based on Qt Test. In order to run the autotests reliably, you need to configure a desktop to match the test environment that these tests are written for. Linux X11: * The user must be logged in to an active desktop; you can't run the autotests without a valid DISPLAY that allows X11 connections. * The tests are run against a KDE3 or KDE4 desktop. * Window manager uses "click to focus", and not "focus follows mouse". Many tests move the mouse cursor around and expect this to not affect focus and activation. * Disable "click to activate", i.e., when a window is opened, the window manager should automatically activate it (give it input focus) and not wait for the user to click the window.