summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2018-09-11 14:32:57 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2018-09-11 15:33:33 +0000
commitb6fcf62d482215f0d5c0fa443cd4ae470f2548cf (patch)
treefdfd48fce3d6786395d06db6a8eb5fa7217f84fc
parent93946a3c2391d2e7260e310db0999b7f87e16083 (diff)
Tests: Reduce verbosityv5.12.0-alpha1
Change-Id: I03b0c376cffa3c69f88c7200a78f7b3432646f78 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r--tests/plugins/platforms/webgl/tst_webgl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/plugins/platforms/webgl/tst_webgl.cpp b/tests/plugins/platforms/webgl/tst_webgl.cpp
index d7bb6bb..869e294 100644
--- a/tests/plugins/platforms/webgl/tst_webgl.cpp
+++ b/tests/plugins/platforms/webgl/tst_webgl.cpp
@@ -217,15 +217,16 @@ void tst_WebGL::init()
+ executableName);
process.setArguments(QStringList { QDir::toNativeSeparators(scene) });
process.setEnvironment(QProcess::systemEnvironment()
- << "QT_QPA_PLATFORM=webgl:port=" PORTSTRING
- << "QT_LOGGING_RULES=qt.qpa.webgl.*=true");
+ << "QT_QPA_PLATFORM=webgl:port=" PORTSTRING);
process.start();
process.waitForStarted();
QVERIFY(process.isOpen());
+#if defined(QT_DEBUG)
connect(&process, &QProcess::readyReadStandardOutput, [=]() {
while (process.bytesAvailable())
qDebug() << process.pid() << process.readLine();
});
+#endif // defined(QT_DEBUG)
QTRY_VERIFY(tryToConnect());
const QJsonDocument connectMessage {
QJsonObject {