]> code.ossystems Code Review - openembedded-core.git/commit
patch.py: Change to more strictly fuzz detection
authorNaoto Yamaguchi <wata2ki@gmail.com>
Sun, 26 Jul 2020 22:39:34 +0000 (07:39 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2020 18:54:00 +0000 (19:54 +0100)
commita8605c66ef5afe7c3583366781dfd90fe3526398
tree49fdc29f2a403e4ad5db6ac6c9df328272c925b0
parentc0b921ef38f4740212b167463c3afa9709e06f53
patch.py: Change to more strictly fuzz detection

When applying patch subject is including a " fuzz ", do_patch_qa detect
Fuzz.

After the patch is applied, the following log message appears.

  Applying: meson: treat all fuzz cases as unit tests

The current Fuzz detection checks for the presence of "fuzz" in this
log message.  The log in this example will be treated as Fuzz,
despite its success.

This patch change to more strictly fuzz detection.
if log message is including " fuzz " and "Hunk " in log message,
it will be treated as Fuzz.

Signed-off-by: Naoto Yamaguchi <wata2ki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py