summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/utils
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2014-01-16 14:48:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-16 23:40:43 +0000
commit9b81aff0aca42353d448b1e9522f89842e23c7b2 (patch)
treeeb6c7038dd23be15bd41ff7a853452365cdc3c7d /meta/lib/oeqa/utils
parent1e06d5ce83439b5bd75a958f305e6a880d40333d (diff)
downloadopenembedded-core-9b81aff0aca42353d448b1e9522f89842e23c7b2.tar.gz
openembedded-core-9b81aff0aca42353d448b1e9522f89842e23c7b2.tar.bz2
openembedded-core-9b81aff0aca42353d448b1e9522f89842e23c7b2.zip
lib/oeqa: allow a layer to provide it's own TEST_TARGET class
Allows a layer to define new classes in <layer>/lib/oeqa/utils/controllers.py and completely control or extend deployment of a target. (core currently has QemuTarget and SimpleRemoteTarget). The value of TEST_TARGET must be the name of the new class. Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r--meta/lib/oeqa/utils/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/__init__.py b/meta/lib/oeqa/utils/__init__.py
index e69de29bb2..8eda92763c 100644
--- a/meta/lib/oeqa/utils/__init__.py
+++ b/meta/lib/oeqa/utils/__init__.py
@@ -0,0 +1,3 @@
+# Enable other layers to have modules in the same named directory
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)