CTest strips any XML measurement tags out of the test output before passing on the results to the dashboard. Unfortunately it also strips out any normal test text between the measurements. This can make it impossible to remotely diagnose the fault. I have a fix to just remove the measurements, leaving the rest of the output in place.

I see you have wisely removed my ancient and rarely-used commit privileges to CMake so I include a patch.

Regards,
Ian.

--
Ian Scott, M.Eng. Ph.D.          Software and Research Engineer
imorphics ltd
11 Kilburn House, Lloyd Street North
Manchester, M15 6SE, UK
Index: cmCTestTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestHandler.cxx,v
retrieving revision 1.81
diff -r1.81 cmCTestTestHandler.cxx
404a405
>   
> this->DartStuff1.compile("(<DartMeasurement[^<]*</DartMeasurement[a-zA-Z]*>)");
899c900,903
<         cmSystemTools::ReplaceString(output, dartString.c_str(),"");
---
>         while (this->DartStuff1.find(output.c_str()))
>           {
>           cmSystemTools::ReplaceString(output, 
> this->DartStuff1.match(1).c_str(), "");
>           }
Index: cmCTestTestHandler.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestHandler.h,v
retrieving revision 1.29
diff -r1.29 cmCTestTestHandler.h
242a243
>   cmsys::RegularExpression DartStuff1;
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to