From e1e347a2d509303e1c566450b0f2b485d3d6629f Mon Sep 17 00:00:00 2001 From: Stefan Stanacar Date: Sun, 25 Aug 2013 01:46:55 +0100 Subject: classes/testimage: add support for finding tests in other layers 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. Signed-off-by: Stefan Stanacar Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold --- meta/lib/oeqa/runtime/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/lib') 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 @@ +# Enable other layers to have tests in the same named directory +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) -- cgit 1.2.3-korg