We can directly compare the test case IDs rather than representations, then if we're using subunit to split the tests, the comparisions still work as intended.
Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- meta/lib/oeqa/core/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py index 13cdf5ba523..16345fab2ec 100644 --- a/meta/lib/oeqa/core/runner.py +++ b/meta/lib/oeqa/core/runner.py @@ -88,10 +88,10 @@ class OETestResult(_TestResult): break scase_str = scase.test_id else: - if case == scase: + if case.id() == scase.id(): found = True break - scase_str = str(scase) + scase_str = str(scase.id()) # When fails at module or class level the class name is passed as string # so figure out to see if match -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core