diff options
author | Alexis Lothoré <alexis.lothore@bootlin.com> | 2024-02-05 16:57:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-06 10:32:19 +0000 |
commit | 149f42b59ea18f2d04d8173642580dddadf3fdd0 (patch) | |
tree | e2420c2c5ea9a45db5378804ebf56558c8964087 /scripts/oe-find-native-sysroot | |
parent | d0b817d946bac3c4862528fd41a194f506020e41 (diff) | |
download | poky-149f42b59ea18f2d04d8173642580dddadf3fdd0.tar.gz |
patchtest-send-results: properly parse test status
patchtest-send-results currently search the word "FAIL" in the whole
testresults file to decide whether it should send a report to patch
submitter or not. This global search can lead to false positives, for
example if the commit subject contains the word "FAIL" (as observed in
[1])
Prevent those false positives by explicitely parsing the test status from
each line. Each test result line, generated by the patchtest script, is
expected to have the following format:
<STATUS>: <some info, depending on the status>
[1] https://lore.kernel.org/openembedded-core/0101018d79bfe020-06f2ce89-ea19-456b-92e7-66ee1c710fd1-000000@us-west-2.amazonses.com/
(From OE-Core rev: 3567c21af8ed65448f9325ee3fe85b8be839e1b5)
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-find-native-sysroot')
0 files changed, 0 insertions, 0 deletions