diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-13 00:06:01 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-13 00:06:01 (GMT) |
commit | 921f54e051b6fcc0268097347e2ad13ba0bfc37d (patch) | |
tree | 6e50255fba62b11ede89b3b954db35a634162154 /tests/auto | |
parent | e9a0067ef4b272f1893522959dc15561970590ea (diff) | |
parent | a24921ff976a07cc36c0f2edd78894d5d033938e (diff) | |
download | Qt-921f54e051b6fcc0268097347e2ad13ba0bfc37d.zip Qt-921f54e051b6fcc0268097347e2ad13ba0bfc37d.tar.gz Qt-921f54e051b6fcc0268097347e2ad13ba0bfc37d.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix compile error
Don't try to use so much permissions, use something a lot more sane
A bit saner suggestion
Remove not needed permissions
Make compile on Symbian
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qchar/qchar.pro | 6 | ||||
-rw-r--r-- | tests/auto/qchar/tst_qchar.cpp | 5 |
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); |