summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/core/exception.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-07-26 10:04:09 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-30 08:45:11 +0100
commite50b415aaaa1581473f85f0a8afa278b5f95129b (patch)
treec435431882e48cbdde778a5a2abd7f458d6dac2a /meta/lib/oeqa/core/exception.py
parent07c5eb7f9232ecd4a094040cbe85af2727bd2bd5 (diff)
downloadopenembedded-core-e50b415aaaa1581473f85f0a8afa278b5f95129b.tar.gz
oeqa/{core,selftest}: Add support to validate if a specified test case isn't found
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 <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/exception.py')
-rw-r--r--meta/lib/oeqa/core/exception.py3
1 files changed, 3 insertions, 0 deletions
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