File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,11 @@ int main(int argc, char *argv[])
213213 // check if --test_data_folder CL argument is present
214214 std::string testDataFolderSwitch = " test_data_folder" ;
215215 if (cmd_line.HasSwitch (testDataFolderSwitch)) {
216- std::cout << " HasSwitch" <<std::endl;
217216 tests::testDataFolder = cmd_line.GetSwitchValueASCII (testDataFolderSwitch);
218- std::cout << " HasSwitch " << tests::testDataFolder << std::endl;
219217 } else {
220- std::cout << " Hasn'tSwitch" <<std::endl;
221218 tests::testDataFolder = " ./" ;
222- std::cout << " Hasn'tSwitch" <<std::endl;
223219 }
220+ std::cout << " Using " << tests::testDataFolder << " as test data folder" << std::endl;
224221
225222#if defined(OS_WIN)
226223#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
@@ -232,6 +229,7 @@ int main(int argc, char *argv[])
232229
233230 webdriver::Server* wd_server = webdriver::Server::GetInstance ();
234231 if (0 != wd_server->Configure (cmd_line)) {
232+ std::cout << " Error while configuring WD server, exiting..." << std::endl;
235233 return 1 ;
236234 }
237235
@@ -244,8 +242,10 @@ int main(int argc, char *argv[])
244242 InitUInputClient ();
245243
246244 int startError = wd_server->Start ();
247- if (startError)
245+ if (startError){
246+ std::cout << " Error while starting server, errorCode " << startError << endl;
248247 return startError;
248+ }
249249
250250 setQtSettings ();
251251 return app.exec ();
You can’t perform that action at this time.
0 commit comments