# HG changeset patch # User jld # Date 1048587368 0 # Node ID 4c961fb014e5ff880d2d576397bfbd06468e5ac5 # Parent f5585bc940137a3b5513bcf48ffd05780efd0778 * standalone/wxwin/runtestsdlg.cpp: Strip CRs from test output. diff --git a/host/tools/configtool/ChangeLog b/host/tools/configtool/ChangeLog --- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,8 @@ +2003-03-25 John Dallaway + + * standalone/wxwin/runtestsdlg.cpp: Remove CR characters in test + output. [ Bugzilla 85163 ] + 2003-03-19 John Dallaway * standalone/wxwin/appsettings.cpp, diff --git a/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp b/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp --- a/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp +++ b/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp @@ -525,7 +525,16 @@ void CALLBACK ecRunTestsDialog::TestOutp ecRunTestsDialog* pWnd = (ecRunTestsDialog*)pParam; if (ecRunTestsDialog::m_runTestsDialog) { + // FIXME: test output should not contain CR characters on non-Windows + // platforms so need to find the root of this problem +#ifndef __WXMSW__ + wxString output(psz); + output.Replace(wxT("\r"), wxEmptyString); // remove CR characters + pWnd->OutputToBuffer(output); +#else + // FIXME ends pWnd->OutputToBuffer(psz); +#endif } }