diff options
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index f54113626b..4224206546 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -123,14 +123,14 @@ class oeRuntimeTest(oeTest): | |||
123 | # If a test fails or there is an exception | 123 | # If a test fails or there is an exception |
124 | if not exc_info() == (None, None, None): | 124 | if not exc_info() == (None, None, None): |
125 | exc_clear() | 125 | exc_clear() |
126 | self.tc.host_dumper.create_dir(self._testMethodName) | 126 | #Only dump for QemuTarget |
127 | self.tc.host_dumper.dump_host() | ||
128 | #Only QemuTarget has a serial console | ||
129 | if (isinstance(self.target, QemuTarget)): | 127 | if (isinstance(self.target, QemuTarget)): |
128 | self.tc.host_dumper.create_dir(self._testMethodName) | ||
129 | self.tc.host_dumper.dump_host() | ||
130 | self.target.target_dumper.dump_target( | 130 | self.target.target_dumper.dump_target( |
131 | self.tc.host_dumper.dump_dir) | 131 | self.tc.host_dumper.dump_dir) |
132 | print ("%s dump data stored in %s" % (self._testMethodName, | 132 | print ("%s dump data stored in %s" % (self._testMethodName, |
133 | self.tc.host_dumper.dump_dir)) | 133 | self.tc.host_dumper.dump_dir)) |
134 | 134 | ||
135 | #TODO: use package_manager.py to install packages on any type of image | 135 | #TODO: use package_manager.py to install packages on any type of image |
136 | def install_packages(self, packagelist): | 136 | def install_packages(self, packagelist): |