[PATCH] arm/oeqa/fvp: update for new ignore_ssh_fails argument to run()
Ross Burton <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
---
meta-arm/lib/oeqa/controllers/fvp.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arm/lib/oeqa/controllers/fvp.py b/meta-arm/lib/oeqa/controllers/fvp.py
index dddc10ee3a..9ded121321 100644
--- a/meta-arm/lib/oeqa/controllers/fvp.py
+++ b/meta-arm/lib/oeqa/controllers/fvp.py
@@ -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:
--
2.43.0