On 06/09/2011 01:11 PM, Rolf Eike Beer wrote: >> Hi, >> >> I just noticed that CTest 2.8.4 incorrectly parses valgrind's memcheck >> output because it does not always take into account that numbers >> reported by valgrind can be larger than 1,000 and then will contain a >> comma as thousand-delimiter. Therefore, many errors/potential errors >> are not correctly reported in the dashboard. >> >> Am I missing anything? >> >> The attached patch solves the problem. I hope I caught all cases. >> Should I open a bug report for this? > > Yes. And please use unified diff format. Preferred is if you could do a > checkout of CMake git and commit your patch (locally) and then do "git > format-patch HEAD^" and attach the resulting 0001-* file to the bug. > > Just from a quick look: shouldn't the regex be something like > [0-9]*(,[0-9]*)*? > > Eike
Isn't the separator locale-dependent? What does the output look like if LC_ALL=C? Michael _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake