summaryrefslogtreecommitdiffstats
path: root/tests/auto/qchar
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-04-12 17:59:31 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-04-12 18:00:29 (GMT)
commita24921ff976a07cc36c0f2edd78894d5d033938e (patch)
tree24b269a86196da7e52ae27966c2932965e25d254 /tests/auto/qchar
parent29d88ba7a69df310150bbeab78d07e6186304565 (diff)
downloadQt-a24921ff976a07cc36c0f2edd78894d5d033938e.zip
Qt-a24921ff976a07cc36c0f2edd78894d5d033938e.tar.gz
Qt-a24921ff976a07cc36c0f2edd78894d5d033938e.tar.bz2
Fix compile error
Reviewed-by: Jason Barron
Diffstat (limited to 'tests/auto/qchar')
-rw-r--r--tests/auto/qchar/qchar.pro6
-rw-r--r--tests/auto/qchar/tst_qchar.cpp5
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/auto/qchar/qchar.pro b/tests/auto/qchar/qchar.pro
index 0a3fcc3..a534d14 100644
--- a/tests/auto/qchar/qchar.pro
+++ b/tests/auto/qchar/qchar.pro
@@ -8,4 +8,8 @@ deploy.sources += NormalizationTest.txt
DEPLOYMENT = deploy
}
-DEFINES += SRCDIR=\\\"$$PWD/\\\"
+symbian*: {
+ DEFINES += SRCDIR=""
+} else {
+ DEFINES += SRCDIR=\\\"$$PWD/\\\"
+}
diff --git a/tests/auto/qchar/tst_qchar.cpp b/tests/auto/qchar/tst_qchar.cpp
index 6227c2e..5ca2255 100644
--- a/tests/auto/qchar/tst_qchar.cpp
+++ b/tests/auto/qchar/tst_qchar.cpp
@@ -513,10 +513,7 @@ void tst_QChar::normalization()
}
QFile f(SRCDIR "NormalizationTest.txt");
- if (!f.exists()) {
- QFAIL("Couldn't find NormalizationTest.txt");
- return;
- }
+ QVERIFY(f.exists());
f.open(QIODevice::ReadOnly);