summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/core/target/ssh.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/target/ssh.py b/meta/lib/oeqa/core/target/ssh.py
index 923a223..f956a77 100644
--- a/meta/lib/oeqa/core/target/ssh.py
+++ b/meta/lib/oeqa/core/target/ssh.py
@@ -44,6 +44,7 @@ class OESSHTarget(OETarget):
44 self.ssh = self.ssh + [ '-p', port ] 44 self.ssh = self.ssh + [ '-p', port ]
45 self.scp = self.scp + [ '-P', port ] 45 self.scp = self.scp + [ '-P', port ]
46 self._monitor_dumper = None 46 self._monitor_dumper = None
47 self.target_dumper = None
47 48
48 def start(self, **kwargs): 49 def start(self, **kwargs):
49 pass 50 pass
@@ -102,7 +103,8 @@ class OESSHTarget(OETarget):
102 if self.monitor_dumper: 103 if self.monitor_dumper:
103 self.monitor_dumper.dump_monitor() 104 self.monitor_dumper.dump_monitor()
104 if status == 255: 105 if status == 255:
105 self.target_dumper.dump_target() 106 if self.target_dumper:
107 self.target_dumper.dump_target()
106 if self.monitor_dumper: 108 if self.monitor_dumper:
107 self.monitor_dumper.dump_monitor() 109 self.monitor_dumper.dump_monitor()
108 return (status, output) 110 return (status, output)