Mercurial > ecos-v3_0-branch
changeset 866:14cc4c926c7e
* standalone/wxwin/runtestsdlg.cpp: Strip CRs from test output.
| author | jld |
|---|---|
| date | Tue, 25 Mar 2003 10:15:07 +0000 |
| parents | 6001f11af5db |
| children | 6c0eeb4145cb |
| files | host/tools/configtool/ChangeLog host/tools/configtool/standalone/wxwin/runtestsdlg.cpp |
| diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,8 @@ +2003-03-25 John Dallaway <jld@ecoscentric.com> + + * standalone/wxwin/runtestsdlg.cpp: Remove CR characters in test + output. [ Bugzilla 85163 ] + 2003-03-19 John Dallaway <jld@ecoscentric.com> * standalone/wxwin/appsettings.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 } }
