diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-18 19:42:39 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-18 20:18:41 +0200 |
commit | de1005fab824b134f36ea2b957f1ae219c2de6a5 (patch) | |
tree | efc5a7e5e5c6a905bad676d5ed6bf449bb6e8427 /tests/auto/symbols | |
parent | 981e6442b98a2377a60dd56c23491de922080ef7 (diff) | |
download | qt4-tools-de1005fab824b134f36ea2b957f1ae219c2de6a5.tar.gz |
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')
-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 784c979747..fea3380744 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", |