diff options
-rw-r--r-- | meta/lib/oeqa/core/context.py | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/core/exception.py | 3 |
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 | ||
11 | from oeqa.core.loader import OETestLoader | 11 | from oeqa.core.loader import OETestLoader |
12 | from oeqa.core.runner import OETestRunner | 12 | from oeqa.core.runner import OETestRunner |
13 | from oeqa.core.exception import OEQAMissingManifest | ||
13 | 14 | ||
14 | class OETestContext(object): | 15 | class 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 | ||
13 | class OEQADependency(OEQAException): | 13 | class OEQADependency(OEQAException): |
14 | pass | 14 | pass |
15 | |||
16 | class OEQAMissingManifest(OEQAException): | ||
17 | pass | ||