summaryrefslogtreecommitdiffstats
path: root/scripts/patchtest-get-branch
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-07-31 21:35:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-04 18:04:04 +0100
commit1987d7943e7d411218fc11f97cd3c4323c2b419c (patch)
tree6b6e9766da8b11e736f50c95a04f680dea3fb1a4 /scripts/patchtest-get-branch
parent752eca419d273520342e5c9a57cbedb2124d2f07 (diff)
downloadpoky-1987d7943e7d411218fc11f97cd3c4323c2b419c.tar.gz
oeqa: fix OETestCalledProcessError for check_output method
Per documentation, subprocess.CalledProcessError exception has stderr filled out only for run method, it's None for check_output method. So serialize it only if it's not None. Avoids: File "<poky-dir>/meta/lib/oeqa/utils/subprocesstweak.py", line 15, in __str__ s = s + "\nStandard Error: " + strify(self.stderr) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TypeError: can only concatenate str (not "NoneType") to str (From OE-Core rev: d13f444468b4b10f913b3cf01d7d13ef9d42838e) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/patchtest-get-branch')
0 files changed, 0 insertions, 0 deletions