qt5base-lts/tests/auto/testlib/selftests/findtestdata
Mårten Nordheim 4361c0ee84 findtestdata: test 'relative to test source'-fix
Before the fix is applied this test fails because QFINDTESTDATA will
return "/usr/" instead of the folder with the same name in the current
directory.

The 'usr' folder can't be located 'next to' the application since this
does not trigger the issue (QFINDTESTDATA looks for the folder next
to the executable early on). So we put it in a subdirectory and change
the current working directory to its parent directory.

Change-Id: I627679dcb6f2f6954264e23bfc1a71de3bff7203
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
2018-06-22 13:05:03 +00:00
..
findtestdata.cpp findtestdata: test 'relative to test source'-fix 2018-06-22 13:05:03 +00:00
findtestdata.pro QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
findtestdata.qrc Fixed tst_selftests findtestdata subtest for shadow builds. 2011-12-05 06:00:04 +01:00
qt.conf testlib: add QFINDTESTDATA macro for finding testdata files 2011-12-01 09:12:57 +01:00