diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-25 21:42:55 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-28 08:19:52 +0200 |
commit | f99b2298d2b9c48d75b85d2907e3fe12dda9a31b (patch) | |
tree | 796c300f9e8640f98a57c6fd5f943743a7bb5aec /tests/auto/xmlpatternsxqts/tst_suitetest.cpp | |
parent | 7eaba4571c17b9a43dc5397a4a6d98c5511b3f24 (diff) | |
download | qtxmlpatterns-f99b2298d2b9c48d75b85d2907e3fe12dda9a31b.tar.gz |
make test suite properly shadow build compatible
Change-Id: I42331f1894c6c09d098d84fc41f96c40f4725907
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/xmlpatternsxqts/tst_suitetest.cpp')
-rw-r--r-- | tests/auto/xmlpatternsxqts/tst_suitetest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp index 9756389..f61546f 100644 --- a/tests/auto/xmlpatternsxqts/tst_suitetest.cpp +++ b/tests/auto/xmlpatternsxqts/tst_suitetest.cpp @@ -54,8 +54,8 @@ using namespace QPatternistSDK; tst_SuiteTest::tst_SuiteTest(const SuiteType suiteType, - const bool alwaysRun) : m_existingBaseline(inputFile(QLatin1String("Baseline.xml"))) - , m_candidateBaseline(inputFile(QLatin1String("CandidateBaseline.xml"))) + const bool alwaysRun) : m_existingBaseline(QFINDTESTDATA("Baseline.xml")) + , m_candidateBaseline(QDir::current().filePath("CandidateBaseline.xml")) , m_abortRun(!alwaysRun && !QFile::exists(QLatin1String("runTests"))) , m_suiteType(suiteType) { |