From e50b415aaaa1581473f85f0a8afa278b5f95129b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Wed, 26 Jul 2017 10:04:09 -0500 Subject: oeqa/{core,selftest}: Add support to validate if a specified test case isn't found MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If some test module/case is specified to run and isn't found the OEQA framework didn't notice it, so complete the implementation using modules_required and validate for the test case prescense. Raise an exception when the test module/case required isn't found. [YOCTO #11645] Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/exception.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/lib/oeqa/core/exception.py') diff --git a/meta/lib/oeqa/core/exception.py b/meta/lib/oeqa/core/exception.py index a07961adc3..732f2efdeb 100644 --- a/meta/lib/oeqa/core/exception.py +++ b/meta/lib/oeqa/core/exception.py @@ -18,3 +18,6 @@ class OEQAMissingManifest(OEQAException): class OEQAPreRun(OEQAException): pass + +class OEQATestNotFound(OEQAException): + pass -- cgit v1.2.3