testlib: Document a known limitation of QFINDTESTDATA.
Change-Id: I72740e394bfe2a95f5b48566b29c9ef9200a8035 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
46c5850263
commit
0eb95222ac
@ -410,6 +410,12 @@ QT_BEGIN_NAMESPACE
|
||||
point to the working directory from which the compiler is invoked, or only
|
||||
absolute paths to the source files are passed to the compiler. Otherwise, the
|
||||
absolute path of the source directory cannot be determined.
|
||||
|
||||
\bold {Note:} For tests that use the \l QTEST_APPLESS_MAIN() macro to generate a
|
||||
\c{main()} function, \c{QFINDTESTDATA} will not attempt to find test data
|
||||
relative to QCoreApplication::applicationDirPath(). In practice, this means that
|
||||
tests using \c{QTEST_APPLESS_MAIN()} will fail to find their test data
|
||||
if run from a shadow build tree.
|
||||
*/
|
||||
|
||||
/*! \macro QTEST_MAIN(TestClass)
|
||||
|
Loading…
Reference in New Issue
Block a user