summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsslkey/tst_qsslkey.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-22 10:45:16 +0100
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-13 14:56:16 +0200
commit171c8b3dd904d3adf26d00ebaa0f372c1a8a5c71 (patch)
treef4b6101afa707558ca32594b1d12951e3b4c83de /tests/auto/qsslkey/tst_qsslkey.cpp
parent4e2d549e8b2e34c5bd4c77a4a6eba99ed0912168 (diff)
Autotest: Use the shadow-build trick in all platforms
Diffstat (limited to 'tests/auto/qsslkey/tst_qsslkey.cpp')
-rw-r--r--tests/auto/qsslkey/tst_qsslkey.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qsslkey/tst_qsslkey.cpp b/tests/auto/qsslkey/tst_qsslkey.cpp
index e7b474078d..86da09e96b 100644
--- a/tests/auto/qsslkey/tst_qsslkey.cpp
+++ b/tests/auto/qsslkey/tst_qsslkey.cpp
@@ -108,10 +108,8 @@ tst_QSslKey::tst_QSslKey()
#ifdef Q_WS_MAC
// applicationDirPath() points to a path inside the app bundle on Mac.
QDir dir(qApp->applicationDirPath() + QLatin1String("/../../../keys"));
-#elif defined(Q_OS_WIN) || defined (Q_OS_SYMBIAN)
- QDir dir(SRCDIR + QLatin1String("/keys")); // prefer this way to avoid ifdeffery and support shadow builds?
#else
- QDir dir(qApp->applicationDirPath() + QLatin1String("/keys"));
+ QDir dir(SRCDIR + QLatin1String("/keys")); // prefer this way to avoid ifdeffery and support shadow builds?
#endif
QFileInfoList fileInfoList = dir.entryInfoList(QDir::Files | QDir::Readable);
QRegExp rx(QLatin1String("^(rsa|dsa)-(pub|pri)-(\\d+)\\.(pem|der)$"));