mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
patchtest: provide further guidance for failed testcases
Cross-reference the wiki page on patchtest now that it is updated and contains more information how to address failed testcases. Adding it in patchtest only is enough as patchtest-send-result already points to the wikipage for failures. (From OE-Core rev: 51267f3c5d647fc6483ce6b597ed9e25c14bd425) Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
79191f8590
commit
8a3f025b3a
@@ -164,9 +164,9 @@ def run(patch, logfile=None):
|
|||||||
if premerge_result == 2 and postmerge_result == 2:
|
if premerge_result == 2 and postmerge_result == 2:
|
||||||
logger.error('patchtest: No test cases found - did you specify the correct suite directory?')
|
logger.error('patchtest: No test cases found - did you specify the correct suite directory?')
|
||||||
if premerge_result == 1 or postmerge_result == 1:
|
if premerge_result == 1 or postmerge_result == 1:
|
||||||
logger.error('WARNING: patchtest: At least one patchtest caused a failure or an error - please check')
|
logger.error('WARNING: patchtest: At least one patchtest caused a failure or an error - please check https://wiki.yoctoproject.org/wiki/Patchtest for further guidance')
|
||||||
else:
|
else:
|
||||||
logger.error('OK: patchtest: All patchtests passed')
|
logger.info('OK: patchtest: All patchtests passed')
|
||||||
print('----------------------------------------------------------------------\n')
|
print('----------------------------------------------------------------------\n')
|
||||||
return premerge_result or postmerge_result
|
return premerge_result or postmerge_result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user