diff options
author | Simone Weiß <simone.p.weiss@posteo.com> | 2024-02-23 20:56:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-24 16:10:23 +0000 |
commit | 8a3f025b3a34484d53b27c1d3f9e2140058c0eb6 (patch) | |
tree | 37ab7196f4db28d192dfcde0a5d0c6dac607154b /scripts/patchtest | |
parent | 79191f8590a90fb95a753ecb37f07c1630029fae (diff) | |
download | poky-8a3f025b3a34484d53b27c1d3f9e2140058c0eb6.tar.gz |
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>
Diffstat (limited to 'scripts/patchtest')
-rwxr-xr-x | scripts/patchtest | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patchtest b/scripts/patchtest index 3163420220..0be7062dc2 100755 --- a/scripts/patchtest +++ b/scripts/patchtest | |||
@@ -164,9 +164,9 @@ def run(patch, logfile=None): | |||
164 | if premerge_result == 2 and postmerge_result == 2: | 164 | if premerge_result == 2 and postmerge_result == 2: |
165 | logger.error('patchtest: No test cases found - did you specify the correct suite directory?') | 165 | logger.error('patchtest: No test cases found - did you specify the correct suite directory?') |
166 | if premerge_result == 1 or postmerge_result == 1: | 166 | if premerge_result == 1 or postmerge_result == 1: |
167 | logger.error('WARNING: patchtest: At least one patchtest caused a failure or an error - please check') | 167 | 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') |
168 | else: | 168 | else: |
169 | logger.error('OK: patchtest: All patchtests passed') | 169 | logger.info('OK: patchtest: All patchtests passed') |
170 | print('----------------------------------------------------------------------\n') | 170 | print('----------------------------------------------------------------------\n') |
171 | return premerge_result or postmerge_result | 171 | return premerge_result or postmerge_result |
172 | 172 | ||