patchtest: provide further guidance for failed testcases
PATCH v2 1/1 patchtest: provide further guidance for failed testcases
From: Simone Weiß <[email protected]>
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.
---
v2: Instead of prodvidng the infos in the log point to the now updated wiki to avoid issues with autobuilder when adding more lines.
scripts/patchtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/patchtest +2 -2
@@ -164,9 +164,9 @@ def run(patch, logfile=None): if premerge_result == 2 and postmerge_result == 2: logger.error('patchtest: No test cases found - did you specify the correct suite directory?') 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 for further guidance') else: - logger.error('OK: patchtest: All patchtests passed') + logger.info('OK: patchtest: All patchtests passed') print('----------------------------------------------------------------------\n') return premerge_result or postmerge_result
Signature · 1 line
2.39.2
Quoted 18 lines · Simone Weiß
From: Simone Weiß <[email protected]>
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.
Signed-off-by Simone Weiß <[email protected]>---
v2: Instead of prodvidng the infos in the log point to the now updated wiki to avoid issues with autobuilder when adding more lines.scripts/patchtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)scripts/patchtest +0
-0
scripts/patchtest def run(patch, logfile=None): · line 167
Quoted 5 lines
scripts/patchtest +1
-1@@ -164,9 +164,9 @@ def run(patch, logfile=None): if premerge_result == 2 and postmerge_result == 2: logger.error('patchtest: No test cases found - did you specify the correct suite directory?') 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 for further guidance')
Hi,
The idea here is good, but it looks like there's a typo here...
Quoted 15 lines
scripts/patchtest +1
-2else: - logger.error('OK: patchtest: All patchtests passed') + logger.info('OK: patchtest: All patchtests passed') print('----------------------------------------------------------------------\n') return premerge_result or postmerge_result -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#196107): https://lists.openembedded.org/g/openembedded-core/message/196107
Mute This Topic: https://lists.openembedded.org/mt/104535997/7611679
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-