1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00

arm/oeqa/fvp: update for new ignore_ssh_fails argument to run()

The OESSHTarget object now has a ignore_ssh_fails keyword argument[1],
so update this subclass to match.

As the implementation of run() here simply forwards the arguments, we
can use *args, **kwargs so that future changes don't cause problems.

[1] oe-core afe118d4f2d ("oeqa: target: ssh: Fail on SSH error even when errors are ignored")

Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Ross Burton
2025-10-10 11:18:53 +01:00
parent 2b44924959
commit 7206f9c9f9

View File

@@ -76,10 +76,10 @@ class OEFVPTarget(OESSHTarget):
def stop(self, **kwargs):
self.transition(OEFVPTargetState.OFF)
def run(self, cmd, timeout=None):
def run(self, *args, **kwargs):
# Running a command implies the LINUX state
self.transition(OEFVPTargetState.LINUX)
return super().run(cmd, timeout)
return super().run(*args, **kwargs)
def _setup_consoles(self):
with open(self.fvp_log.name, 'rb') as logfile: