summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-08-25 01:46:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-28 23:36:08 +0100
commit5fba9d8c6c9982f59b0285fe17e91e162e25d495 (patch)
tree1623f5b4f1d02f54aa5b2274ef02275027b004b3 /meta/lib/oeqa/runtime
parent62d14181e7a8531c9894999efbacbe5f7cc7e199 (diff)
downloadpoky-5fba9d8c6c9982f59b0285fe17e91e162e25d495.tar.gz
classes/testimage: add support for finding tests in other layers1.5_M4.rc1
A layer can add tests in lib/oeqa/runtime (provided it extends BBPATH as normal) and enable them with TEST_SUITES_append = " testname". Test module names shouldn't collide though. (From OE-Core rev: e1e347a2d509303e1c566450b0f2b485d3d6629f) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/__init__.py b/meta/lib/oeqa/runtime/__init__.py
index e69de29bb2..4cf3fa76b6 100644
--- a/meta/lib/oeqa/runtime/__init__.py
+++ b/meta/lib/oeqa/runtime/__init__.py
@@ -0,0 +1,3 @@
1# Enable other layers to have tests in the same named directory
2from pkgutil import extend_path
3__path__ = extend_path(__path__, __name__)