diff options
author | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-05-04 08:32:53 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-05-04 06:42:38 +0000 |
commit | 9751d3d82eecb4f2c2a805783fbcce9ccd189fea (patch) | |
tree | a9287bd3337d341eda4b6b7d88e02cf5c952e862 /tests/auto/xmlpatterns/tst_xmlpatterns.cpp | |
parent | fb1dc19bf195c530b7f44d18cc927472b9866a46 (diff) | |
download | qtxmlpatterns-9751d3d82eecb4f2c2a805783fbcce9ccd189fea.tar.gz |
tst_XmlPattern:xquerySupport - silence QSsl's debug output
None of tests expects our own debug output in the processe's output,
thus if we have something (even a minor warning) - the test can fail.
It was first found on OS X 10.11 with Secure Transport backend,
now pops up with OpenSSL back-end also (Windows 7)
Change-Id: I19108416048bf89feae2648106b4a4ba8604aa93
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'tests/auto/xmlpatterns/tst_xmlpatterns.cpp')
-rw-r--r-- | tests/auto/xmlpatterns/tst_xmlpatterns.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/xmlpatterns/tst_xmlpatterns.cpp b/tests/auto/xmlpatterns/tst_xmlpatterns.cpp index 223f713..e182565 100644 --- a/tests/auto/xmlpatterns/tst_xmlpatterns.cpp +++ b/tests/auto/xmlpatterns/tst_xmlpatterns.cpp @@ -148,11 +148,9 @@ void tst_XmlPatterns::xquerySupport() if(!cwd.isEmpty()) process.setWorkingDirectory(inputFile(cwd)); -#ifdef Q_OS_OSX QProcessEnvironment env(process.processEnvironment()); env.insert("QT_LOGGING_RULES", "qt.network.ssl=false"); process.setProcessEnvironment(env); -#endif process.start(m_command, arguments); QVERIFY2(process.waitForStarted(), msgProcessError("Failed to start", process).constData()); |