diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-01-06 11:51:43 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-01-06 18:16:22 (GMT) |
commit | 1ee6d3dc9529be1304c5d546e92bf1db832b5bb4 (patch) | |
tree | 7321722fe381014f8e334743f7d82c0abd5e6a93 /tests/auto/linguist/lupdate/tst_lupdate.cpp | |
parent | 2bd2e35078e0cdf9f1458892adcd0939504b59bb (diff) | |
download | Qt-1ee6d3dc9529be1304c5d546e92bf1db832b5bb4.zip Qt-1ee6d3dc9529be1304c5d546e92bf1db832b5bb4.tar.gz Qt-1ee6d3dc9529be1304c5d546e92bf1db832b5bb4.tar.bz2 |
look for the .result file in the dir where the output is expected to go
that makes manual diffing simpler and makes more complex dir structures
less confusing.
Diffstat (limited to 'tests/auto/linguist/lupdate/tst_lupdate.cpp')
-rw-r--r-- | tests/auto/linguist/lupdate/tst_lupdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/linguist/lupdate/tst_lupdate.cpp b/tests/auto/linguist/lupdate/tst_lupdate.cpp index e880eed..0442d27 100644 --- a/tests/auto/linguist/lupdate/tst_lupdate.cpp +++ b/tests/auto/linguist/lupdate/tst_lupdate.cpp @@ -167,7 +167,6 @@ void tst_lupdate::good() QFETCH(QString, directory); QString dir = m_basePath + "good/" + directory; - QString expectedFile = dir + QLatin1String("/project.ts.result"); qDebug() << "Checking..."; @@ -213,6 +212,7 @@ void tst_lupdate::good() return; } + QString expectedFile = generatedtsfile + QLatin1String(".result"); doCompare(generatedtsfile, expectedFile, false); } |