diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-18 17:42:39 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-18 18:18:41 (GMT) |
commit | de1005fab824b134f36ea2b957f1ae219c2de6a5 (patch) | |
tree | efc5a7e5e5c6a905bad676d5ed6bf449bb6e8427 /tests/auto/symbols/tst_symbols.cpp | |
parent | 981e6442b98a2377a60dd56c23491de922080ef7 (diff) | |
download | Qt-de1005fab824b134f36ea2b957f1ae219c2de6a5.zip Qt-de1005fab824b134f36ea2b957f1ae219c2de6a5.tar.gz Qt-de1005fab824b134f36ea2b957f1ae219c2de6a5.tar.bz2 |
Autotest: don't check Qt3Support and QtCLucene for global statics.
We won't fix any issues in those libraries anyway, so don't waste time
checking.
Diffstat (limited to 'tests/auto/symbols/tst_symbols.cpp')
-rw-r--r-- | tests/auto/symbols/tst_symbols.cpp | 10 |
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", |