summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/core/context.py3
-rw-r--r--meta/lib/oeqa/core/exception.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 28ae017090..1ac28788fa 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -10,6 +10,7 @@ import collections
10 10
11from oeqa.core.loader import OETestLoader 11from oeqa.core.loader import OETestLoader
12from oeqa.core.runner import OETestRunner 12from oeqa.core.runner import OETestRunner
13from oeqa.core.exception import OEQAMissingManifest
13 14
14class OETestContext(object): 15class OETestContext(object):
15 loaderClass = OETestLoader 16 loaderClass = OETestLoader
@@ -30,7 +31,7 @@ class OETestContext(object):
30 31
31 def _read_modules_from_manifest(self, manifest): 32 def _read_modules_from_manifest(self, manifest):
32 if not os.path.exists(manifest): 33 if not os.path.exists(manifest):
33 raise 34 raise OEQAMissingManifest("Manifest does not exist on %s" % manifest)
34 35
35 modules = [] 36 modules = []
36 for line in open(manifest).readlines(): 37 for line in open(manifest).readlines():
diff --git a/meta/lib/oeqa/core/exception.py b/meta/lib/oeqa/core/exception.py
index 2dfd8402cf..97ef19dd77 100644
--- a/meta/lib/oeqa/core/exception.py
+++ b/meta/lib/oeqa/core/exception.py
@@ -12,3 +12,6 @@ class OEQAMissingVariable(OEQAException):
12 12
13class OEQADependency(OEQAException): 13class OEQADependency(OEQAException):
14 pass 14 pass
15
16class OEQAMissingManifest(OEQAException):
17 pass