• Nick Thomas's avatar
    Fix the gcovr coverage regex by removing line separators before scanning · acf4a9c006c1
    Nick Thomas authored
    RE2 differs from Ruby in handling multiple-line strings. The string "foo\n"
    will not match the regular expression "foo$" unless multi-line mode is enabled
    (and it's off by default).
    
    Since we're already scanning the build trace line by line (and so multi-line
    coverage regular expressions won't work), we can fix this by removing the line
    separator before scanning the string.
    acf4a9c006c1