diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-10-01 16:27:11 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-10-01 16:27:11 -0230 |
commit | 36a9c67e6a0832a50d64f39f5bfd328beb56e989 (patch) | |
tree | efbf378ddba4c84aad86d3306b61d3c8b22fab3e /cpp/test/TestSuite/MainPage.xaml.cpp | |
parent | Fixed missing lib directory for RPATH on install of Py/Ruby/Php modules (diff) | |
download | ice-36a9c67e6a0832a50d64f39f5bfd328beb56e989.tar.bz2 ice-36a9c67e6a0832a50d64f39f5bfd328beb56e989.tar.xz ice-36a9c67e6a0832a50d64f39f5bfd328beb56e989.zip |
ICE-6767 Better handling of server start failure by test controller
Diffstat (limited to 'cpp/test/TestSuite/MainPage.xaml.cpp')
-rwxr-xr-x[-rw-r--r--] | cpp/test/TestSuite/MainPage.xaml.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/TestSuite/MainPage.xaml.cpp b/cpp/test/TestSuite/MainPage.xaml.cpp index aa64f17b31d..cabd8733ad2 100644..100755 --- a/cpp/test/TestSuite/MainPage.xaml.cpp +++ b/cpp/test/TestSuite/MainPage.xaml.cpp @@ -563,6 +563,10 @@ TestRunner::run() { _page->failed(ex->Message); } + catch (Test::Common::ServerFailedException& ex) + { + _page->failed(ref new String(IceUtil::stringToWstring("Server failed to start:\n\n" + ex.reason).c_str())); + } catch(const std::exception& ex) { _page->failed(ref new String(IceUtil::stringToWstring(ex.what()).c_str())); |