The test checks if two paths test equal if they are pointing to the same place, but one of them is not a canonical path. Example of such paths: /tmp/.. and / The test assumes that /usr is an existing directory on platforms other than win, haiku and android. The reason /usr is used instead of /tmp is that /tmp is a symlink on macos and that interferes with the test (as described in 0b67ad9d). However /usr does not exist on VxWorks (unless created by the user). /tmp can (and is in our CI env) enabled by turning on the INCLUDE_TMP_DIR component. Solve the problem by using /tmp instead of /usr on vxworks. Pick-to: 6.7 Task-number: QTBUG-115777 Change-Id: I98b0d46d1b879f404c0b5bd655031e7c3f19ba33 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 70e2fe2bba71ea0a4d1d1e533c1130c97f77df55) 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.