poky/meta/lib/oeqa/core/exception.py
Aníbal Limón 2d50f153b5 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]

(From OE-Core rev: e50b415aaaa1581473f85f0a8afa278b5f95129b)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-30 08:46:19 +01:00

24 lines
424 B
Python

# Copyright (C) 2016 Intel Corporation
# Released under the MIT license (see COPYING.MIT)
class OEQAException(Exception):
pass
class OEQATimeoutError(OEQAException):
pass
class OEQAMissingVariable(OEQAException):
pass
class OEQADependency(OEQAException):
pass
class OEQAMissingManifest(OEQAException):
pass
class OEQAPreRun(OEQAException):
pass
class OEQATestNotFound(OEQAException):
pass