diff options
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 4a406e75ca..c9dc5dcd2e 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py @@ -103,7 +103,9 @@ def skipModule(reason, pos=2): if modname not in oeRuntimeTest.tc.testsrequired: raise unittest.SkipTest("%s: %s" % (modname, reason)) else: - bb.warn("Test %s is required, not skipping" % modname) + raise Exception("\nTest %s wants to be skipped.\nReason is: %s" \ + "\nTest was required in TEST_SUITES, so either the condition for skipping is wrong" \ + "\nor the image really doesn't have the requred feature/package when it should." % (modname, reason)) def skipModuleIf(cond, reason): |