summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lrelease
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-07-14 04:06:57 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-07-14 04:06:57 (GMT)
commit423e373ed0935ebe3d2f54a4c56101081c3311b5 (patch)
tree35e27c69dee1d96775f4a921e93f5cd2e574a834 /tests/auto/linguist/lrelease
parenta9b6c59857c28f48e093abccaf9a89755b0995bc (diff)
parent444fa479484f80cbd5de3e9c5fa2b2e4082643dd (diff)
downloadQt-423e373ed0935ebe3d2f54a4c56101081c3311b5.zip
Qt-423e373ed0935ebe3d2f54a4c56101081c3311b5.tar.gz
Qt-423e373ed0935ebe3d2f54a4c56101081c3311b5.tar.bz2
Merge branch '4.7' of ../oslo-staging-1 into 4.7
Diffstat (limited to 'tests/auto/linguist/lrelease')
-rw-r--r--tests/auto/linguist/lrelease/tst_lrelease.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/linguist/lrelease/tst_lrelease.cpp b/tests/auto/linguist/lrelease/tst_lrelease.cpp
index fdb384e..3b2c2d2 100644
--- a/tests/auto/linguist/lrelease/tst_lrelease.cpp
+++ b/tests/auto/linguist/lrelease/tst_lrelease.cpp
@@ -171,7 +171,12 @@ void tst_lrelease::mixedcodecs()
{
QVERIFY(!QProcess::execute(binDir + "/lrelease testdata/mixedcodecs-ts11.ts"));
QVERIFY(!QProcess::execute(binDir + "/lrelease testdata/mixedcodecs-ts20.ts"));
+#ifdef Q_OS_WIN
+ QVERIFY(!QProcess::execute("fc /b testdata\\mixedcodecs-ts11.qm testdata\\mixedcodecs-ts20.qm"));
+#else
QVERIFY(!QProcess::execute("cmp testdata/mixedcodecs-ts11.qm testdata/mixedcodecs-ts20.qm"));
+#endif
+
QTranslator translator;
QVERIFY(translator.load("testdata/mixedcodecs-ts11.qm"));
qApp->installTranslator(&translator);