summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2011-06-28 20:43:30 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-06-28 20:49:12 (GMT)
commit9e1df56fcb31fbf9f1ed034c5d477ca0600503ad (patch)
tree03c5f79e2495e940251c645677f0a443321081be
parent02c0de622fd5f100811ce0ac5fdfd98376571db1 (diff)
downloadQt-9e1df56fcb31fbf9f1ed034c5d477ca0600503ad.zip
Qt-9e1df56fcb31fbf9f1ed034c5d477ca0600503ad.tar.gz
Qt-9e1df56fcb31fbf9f1ed034c5d477ca0600503ad.tar.bz2
Skip QtWebKit as it leaks symbols and add a namespace exception for QtScript.
The library leaks symbols mostly due to gcc bugs. We can't really test WebKit. Reviewed-by: Thiago Macieira
-rw-r--r--tests/auto/symbols/tst_symbols.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/symbols/tst_symbols.cpp b/tests/auto/symbols/tst_symbols.cpp
index d2c8c24..00486d2 100644
--- a/tests/auto/symbols/tst_symbols.cpp
+++ b/tests/auto/symbols/tst_symbols.cpp
@@ -264,6 +264,9 @@ void tst_Symbols::prefix()
excusedPrefixes["QtSql"] =
QStringList() << "sqlite3";
+ excusedPrefixes["QtScript"] =
+ QStringList() << "QTJSC";
+
excusedPrefixes["QtWebKit"] =
QStringList() << "WebCore::"
<< "KJS::"
@@ -294,7 +297,7 @@ void tst_Symbols::prefix()
bool isFailed = false;
foreach (QString lib, files) {
- if (lib.contains("Designer") || lib.contains("QtCLucene") || lib.contains("XmlPatternsSDK"))
+ if (lib.contains("Designer") || lib.contains("QtCLucene") || lib.contains("XmlPatternsSDK") || lib.contains("WebKit"))
continue;
bool isPhonon = lib.contains("phonon");