summaryrefslogtreecommitdiffstats
path: root/tests/auto/symbols/tst_symbols.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-19 09:24:04 (GMT)
committeraxis <qt-info@nokia.com>2009-08-19 09:24:04 (GMT)
commit2d1b49bd21b788ba3e35fc5c41bf3aab42cbda65 (patch)
tree24dae3a4532870d61282841f6bb186cb008ab747 /tests/auto/symbols/tst_symbols.cpp
parentb3a3652abbf1cb4ebba6c6257ecf47f8dc022d93 (diff)
parent20d2b7312456435e5e1a98dba7c2cc96b44fe83c (diff)
downloadQt-2d1b49bd21b788ba3e35fc5c41bf3aab42cbda65.zip
Qt-2d1b49bd21b788ba3e35fc5c41bf3aab42cbda65.tar.gz
Qt-2d1b49bd21b788ba3e35fc5c41bf3aab42cbda65.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Conflicts: tests/auto/auto.pro
Diffstat (limited to 'tests/auto/symbols/tst_symbols.cpp')
-rw-r--r--tests/auto/symbols/tst_symbols.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/symbols/tst_symbols.cpp b/tests/auto/symbols/tst_symbols.cpp
index 784c979..fea3380 100644
--- a/tests/auto/symbols/tst_symbols.cpp
+++ b/tests/auto/symbols/tst_symbols.cpp
@@ -111,11 +111,19 @@ void tst_Symbols::globalObjects()
bool isFailed = false;
- QDir dir(qgetenv("QTDIR") + "/lib", "*.so");
+ QDir dir(QLibraryInfo::location(QLibraryInfo::LibrariesPath), "*.so");
QStringList files = dir.entryList();
QVERIFY(!files.isEmpty());
foreach (QString lib, files) {
+ if (lib == "libQtCLucene.so") {
+ // skip this library, it's 3rd-party C++
+ continue;
+ }
+ if (lib == "libQt3Support.so") {
+ // we're not going to fix these issues anyway, so skip this library
+ continue;
+ }
QProcess proc;
proc.start("nm",