aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/oetest.py
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2015-09-01 07:36:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-01 21:47:12 +0100
commit25814dbdd12db0499e4d81876873158e1b8a4fcc (patch)
tree37fad2b8360a5c85941ddc6aac83e765f49abc52 /meta/lib/oeqa/oetest.py
parentb0af40fb76cd5035696e9d8a44f815f64214d23a (diff)
downloadopenembedded-core-contrib-25814dbdd12db0499e4d81876873158e1b8a4fcc.tar.gz
runexported: Make it compatible with host dump
Currently it is not possible to run a exported test, but this patch will allow to use the HosDumper class when running a exported test, otherwise the HostDumper class will break runexpored test. [YOCTO #8118] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r--meta/lib/oeqa/oetest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
index 4224206546..4773bdd4d8 100644
--- a/meta/lib/oeqa/oetest.py
+++ b/meta/lib/oeqa/oetest.py
@@ -13,7 +13,6 @@ import inspect
import subprocess
import bb
from oeqa.utils.decorators import LogResults
-from oeqa.targetcontrol import QemuTarget
from sys import exc_info, exc_clear
def loadTests(tc, type="runtime"):
@@ -124,7 +123,7 @@ class oeRuntimeTest(oeTest):
if not exc_info() == (None, None, None):
exc_clear()
#Only dump for QemuTarget
- if (isinstance(self.target, QemuTarget)):
+ if (type(self.target).__name__ == "QemuTarget"):
self.tc.host_dumper.create_dir(self._testMethodName)
self.tc.host_dumper.dump_host()
self.target.target_dumper.dump_target(