<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    Am 09.06.2011 13:20, schrieb Michael Wild:<br>
    <span style="white-space: pre;">&gt; On 06/09/2011 01:11 PM, Rolf
      Eike Beer wrote:<br>
      &gt;&gt;&gt; Hi,<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt; I just notied that CTest 2.8.4 incorrectly parses
      valgrind's memcheck<br>
      &gt;&gt;&gt; output because it does not always take into account
      that numbers<br>
      &gt;&gt;&gt; reported by valgrind can be larger than 1,000 and
      then will contain a<br>
      &gt;&gt;&gt; comma as thousand-delimiter. Therefore, many
      errors/potential errors<br>
      &gt;&gt;&gt; are not correctly reported in the dashboard.<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt; Am I missing anything?<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt; The attached patch solves the problem. I hope I
      caught all cases.<br>
      &gt;&gt;&gt; Should I open a bug report for this?<br>
      &gt;&gt;<br>
      &gt;&gt; Yes. And please use unified diff format. Preferred is
      if you could do a<br>
      &gt;&gt; checkout of CMake git and commit your patch (locally)
      and then do "git<br>
      &gt;&gt; format-patch HEAD^" and attach the resulting 0001-*
      file to the bug.<br>
      &gt;&gt;<br>
      &gt;&gt; Just from a quick look: shouldn't the regex be
      something like<br>
      &gt;&gt; [0-9]*(,[0-9]*)*?<br>
      &gt;&gt;<br>
      &gt;&gt; Eike<br>
      &gt;<br>
      &gt;<br>
      &gt; Isn't the separator locale-dependent? What does the output
      look like if<br>
      &gt; LC_ALL=C?</span><br>
    Don't know, does valgrind take this into account? I just used the
    same<br>
    regex that was already used in _some_ expressions (e.g. the<br>
    direct/indirect entry) and put in all (?) other locations where it<br>
    might be required.<br>
    <br>
    @Eike: About the parens in the regex: I don't see how 100 %
    correct<br>
    parsing is required anyway. IMHO it is sufficient to be able to<br>
    distinguish between the different valgrind events and not to<br>
    accidentally include some console output of the test exectuable
    itself.<br>
    <br>
    I will try my best with the you git suggestions (though I am an<br>
    absolute git newbie.....)<br>
    <br>
    Johannes<br>
    <br>
    <br>
  </body>
</html>