summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimone Weiß <simone.p.weiss@posteo.com>2024-02-16 21:10:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-19 11:37:39 +0000
commit661c0a8fd8fe7bff61cea82778c25cf24d791267 (patch)
tree0d763e807a74c5eccbde9342be153044e7624c2b /scripts
parentdc6ebbbb94b162d8aa68e46d5a166606ace5e39c (diff)
downloadopenembedded-core-contrib-661c0a8fd8fe7bff61cea82778c25cf24d791267.tar.gz
patchtest: add stronger indication for failed tests
Do not only log that there has been an issue but add WARNING before for local runs. Hopefully this helps to avoid that people reading the log to quickly miss issues. Fixes [YOCTO #15389] Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/patchtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patchtest b/scripts/patchtest
index d0dc6e8fac..3163420220 100755
--- a/scripts/patchtest
+++ b/scripts/patchtest
@@ -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('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')
else:
- logger.error('patchtest: All patchtests passed')
+ logger.error('OK: patchtest: All patchtests passed')
print('----------------------------------------------------------------------\n')
return premerge_result or postmerge_result