Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hey Julien, Christian,

2013/5/12 Christian Lohmaier <lohmaier+libreoffice@googlemail.com>

Hi Philipp,

On Sun, May 12, 2013 at 7:38 PM, Philipp Riemer <ruderphilipp@gmail.com>
wrote:
Hi,
when looking at <http://tinderbox.libreoffice.org/MASTER/status.html>, I
currently see the first Android-Tinderbox in a green status

Yes, all that counts in terms of build success or failure is the color
- the count is just a simple grepping for lines that might be an
error.

Can someone give me a pointer to the related reporting script/ whatever
reports the number of errors, so that I can try removing these false
positive cases?


http://cgit.freedesktop.org/libreoffice/website/tree/local_conf/Error_Parse.pm?h=tinderbox

ciao
Christian


Thanks for the link. Uh, Perl... Nevertheless, the important line seems to
be:

($line =~ /\b(?<!\/)[Ee]rror(?!\.)\b/)||                # C make error


Searching my RegExp book to understand the
brainfuck<http://en.wikipedia.org/wiki/Brainfuck>style code after
"rror"... :-)

What I want, is to ignore it if there is ... at the end of the string:
(a) a tick as in ´--enable-werror´
(b) a slash as in error/ignored/warning

Seems to be easy, but I am obviously to tired at the moment to wrap my head
around this...

So far I have the following (see <http://perldoc.perl.org/perlre.html>):

(?!\.) matches
(1) a single arbitrary character or
(2) an exclamation mark or
(3) a dot
and the \b stands for "boundary" (alphanum on the left and !alphanum on the
right or the other way around), so obviously both, the tick and the slash,
are !alphanum (as is the colon, which should still match)...

So maybe the easiest would be to add a "and !(A or B)" to the line to
invalidate a false positive match?

I will have a look at this tomorrow again, after taking counsel with my
pillow ;-)

Cheers,
Philipp

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.