diff options
Diffstat (limited to 'test/test-platform/TestPlatform.cpp')
-rw-r--r-- | test/test-platform/TestPlatform.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test-platform/TestPlatform.cpp b/test/test-platform/TestPlatform.cpp index 9cb45f7..6e67b3a 100644 --- a/test/test-platform/TestPlatform.cpp +++ b/test/test-platform/TestPlatform.cpp @@ -63,7 +63,6 @@ public: CTestPlatform::CTestPlatform(const string& strClass, int iPortNumber, sem_t& exitSemaphore) : _pParameterMgrPlatformConnector(new CParameterMgrPlatformConnector(strClass)), _pParameterMgrPlatformConnectorLogger(new CParameterMgrPlatformConnectorLogger), - _portNumber(iPortNumber), _exitSemaphore(exitSemaphore) { _pCommandHandler = new CCommandHandler(this); @@ -163,12 +162,9 @@ CTestPlatform::CommandReturn CTestPlatform::exit( bool CTestPlatform::load(std::string& strError) { // Start remote processor server - if (!_pRemoteProcessorServer->start()) { - - std::ostringstream oss; - oss << "TestPlatform: Unable to start remote processor server on port " << _portNumber; - strError = oss.str(); + if (!_pRemoteProcessorServer->start(strError)) { + strError = "TestPlatform: Unable to start remote processor server: " + strError; return false; } |