Re: [OE-core] [PATCH 7/8] oeqa/runtime/rpm: fail tests if test rpm file cannot be found

Richard Purdie
2024-01-26T14:11:32Z

On Fri, 2024-01-26 at 14:34 +0100, Alexander Kanavin wrote:
> Discovery of the test file was happening in a class initializer.
> That block of code cannot fail (it's not a test), and so it
> falls through to completion even if the needed file could not be found.

Is that true? I thought a failure in the setup function just caused all
the tests in that class not to run?

I've no issue with the patch itself, I just was surprised to read that.

Cheers,

Richard