Fixed tst_selftests findtestdata subtest for shadow builds.
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 5 Dec 2011 04:08:22 +0000 (14:08 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Dec 2011 05:00:04 +0000 (06:00 +0100)
commit2d8d258f1dd475c3d7aad2629c79d9be5087cbab
tree23dda11b60999b7ab8819f5e812fc9e971527a16
parent25be03f046ae6f1301f068c460b03be5c76c48f0
Fixed tst_selftests findtestdata subtest for shadow builds.

This test uses qt.conf to enforce a predictable tests install location.
This was not working in the shadow build case, as qt.conf was only
present in the source tree; embed it as a resource at :/qt/etc/qt.conf
so it works in the shadow build case too.

Change-Id: Iec708d9686c29a1fc5ff0020dc11a93a593d20c5
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/testlib/selftests/findtestdata/findtestdata.pro
tests/auto/testlib/selftests/findtestdata/findtestdata.qrc [new file with mode: 0644]