From 45d5811cb2b47e41d7bb0be4cd44e5aef739f804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trond=20Kjern=C3=A5sen?= Date: Wed, 8 Sep 2010 11:57:22 +0200 Subject: Check the QT_LANCELOT_SERVER env var for the servername. --- tests/arthur/common/baselineprotocol.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/arthur/common/baselineprotocol.cpp b/tests/arthur/common/baselineprotocol.cpp index 7996fff..34d1a04 100644 --- a/tests/arthur/common/baselineprotocol.cpp +++ b/tests/arthur/common/baselineprotocol.cpp @@ -141,7 +141,9 @@ bool BaselineProtocol::connect() { errMsg.clear(); //###TBD: determine server address; for now local devhost - QLatin1String serverName("chimera.europe.nokia.com"); + QByteArray serverName(qgetenv("QT_LANCELOT_SERVER")); + if (serverName.isNull()) + serverName = "chimera.europe.nokia.com"; socket.connectToHost(serverName, ServerPort); -- cgit v0.12