diff options
Diffstat (limited to 'scripts/oe-test')
-rwxr-xr-x | scripts/oe-test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/oe-test b/scripts/oe-test index a1d282db33..f90d85b3da 100755 --- a/scripts/oe-test +++ b/scripts/oe-test | |||
@@ -26,6 +26,7 @@ except ImportError: | |||
26 | pass | 26 | pass |
27 | 27 | ||
28 | from oeqa.core.context import OETestContextExecutor | 28 | from oeqa.core.context import OETestContextExecutor |
29 | from oeqa.core.exception import OEQAPreRun | ||
29 | 30 | ||
30 | logger = scriptutils.logger_create('oe-test') | 31 | logger = scriptutils.logger_create('oe-test') |
31 | 32 | ||
@@ -92,6 +93,8 @@ def main(): | |||
92 | ret = err.code | 93 | ret = err.code |
93 | except argparse_oe.ArgumentUsageError as ae: | 94 | except argparse_oe.ArgumentUsageError as ae: |
94 | parser.error_subcommand(ae.message, ae.subcommand) | 95 | parser.error_subcommand(ae.message, ae.subcommand) |
96 | except OEQAPreRun as pr: | ||
97 | ret = 1 | ||
95 | 98 | ||
96 | return ret | 99 | return ret |
97 | 100 | ||