summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdir
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-09-15 10:42:51 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-09-15 13:03:21 (GMT)
commitff5946f056c52d7851106ef9ba93e40129349d8d (patch)
tree041aaad4a660318530fd16642fd46403a3fc7961 /tests/auto/qdir
parent3289a268d58181b22f7fe90669a7215bc2edc75a (diff)
downloadQt-ff5946f056c52d7851106ef9ba93e40129349d8d.zip
Qt-ff5946f056c52d7851106ef9ba93e40129349d8d.tar.gz
Qt-ff5946f056c52d7851106ef9ba93e40129349d8d.tar.bz2
Disable symlink and memory mapped files tests on symbian
Reviewed-By: joao
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index 9678868..0ea67c9 100644
--- a/tests/auto/qdir/tst_qdir.cpp
+++ b/tests/auto/qdir/tst_qdir.cpp
@@ -69,7 +69,7 @@
#endif
#if defined(Q_OS_SYMBIAN)
-// Open C in Symbian doesn't support symbolic links to directories
+#define Q_NO_SYMLINKS
#define Q_NO_SYMLINKS_TO_DIRS
#endif
@@ -597,6 +597,7 @@ void tst_QDir::entryList()
expected.removeAll("..");
#endif
+#ifndef Q_NO_SYMLINKS
#if defined(Q_OS_WIN)
// ### Sadly, this is a platform difference right now.
QFile::link(SRCDIR "entryList/file", SRCDIR "entrylist/linktofile.lnk");
@@ -651,6 +652,7 @@ void tst_QDir::entryList()
QFile::link("directory", SRCDIR "entrylist/linktodirectory.lnk");
QFile::link("nothing", SRCDIR "entrylist/brokenlink.lnk");
#endif
+#endif //Q_NO_SYMLINKS
#ifdef Q_WS_MAC
if (qstrcmp(QTest::currentDataTag(), "unprintablenames") == 0)