diff options
author | Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> | 2025-10-07 19:38:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-09 10:58:07 +0100 |
commit | 55f1f00d25d465e687665c7687b2edbc38c3f357 (patch) | |
tree | bb9492ca7154355d39268ef44f8dff93cbc40532 /meta/lib/patchtest/tests/pyparsing/common.py | |
parent | 8810c1deb029f1d8dba915c39f7aae92e9e9f2ad (diff) | |
download | poky-55f1f00d25d465e687665c7687b2edbc38c3f357.tar.gz |
oeqa: runtime: Ignore SSH errors during setup and tear down
Tests using SSH will fail when no SSH server is present on the target.
These tests are disabled in these cases, by being marked with a
dependency on ssh.SSHTest.test_ssh, which in turns has a dependency on
having either dropbear or openssh-sshd in the image.
But setUpClass() and tearDownClass() functions are always executed, even
on tests failing the dependency checks, leading to unexpected failed
tests.
Ignoring SSH errors in setup and tear down allows to avoid these test
errors.
(From OE-Core rev: 5bcc914cf5a193137cddc004f3b38b7b04af9ecb)
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/tests/pyparsing/common.py')
0 files changed, 0 insertions, 0 deletions