Fixed findtestdata selftest on mac
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 11 Jan 2012 05:40:24 +0000 (15:40 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jan 2012 05:41:10 +0000 (06:41 +0100)
commitd3f6faedb5bb02accca3c3ae5f81530e5d60b39a
treed84e7cd3c400138de54009f24e6c93e2c0c33ae9
parentfa699c8f96c8dbc92d68334d3168f817e3aa93ce
Fixed findtestdata selftest on mac

This test relies on being able to set a custom QLibraryInfo::PrefixPath
for the duration of the test.  However, the test code neglected to
account for the following behavior on mac (from "Using qt.conf"
documentation):

  On Mac OS X, the Prefix is relative to the Contents in the application
  bundle.

Change-Id: Ie9b6d5ebfe8af7d7f332e827069b60a830d6c6f2
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/testlib/selftests/findtestdata/findtestdata.cpp