diff mbox series

[31/41] oeqa/buildperf: Drop sortTestMethodsUsing from the test runner

Message ID 20261115084845.701136-31-richard.purdie@linuxfoundation.org
State New
Headers show
Series [01/41] oeqa/loader: Drop code for pre python 3.5 | expand

Commit Message

Richard Purdie Nov. 15, 2026, 8:48 a.m. UTC
Only test loaders use sortTestMethodsUsing so setting it on the runner
has no effect; BuildPerfTestLoader already sets it. Also fix the
runner's docstring.

AI-Generated: Uses Claude Opus 5.5
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/lib/oeqa/buildperf/base.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 6735e14fc8b..ce39bead31a 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -486,8 +486,7 @@  class BuildPerfTestLoader(unittest.TestLoader):
 
 
 class BuildPerfTestRunner(unittest.TextTestRunner):
-    """Test loader for build performance tests"""
-    sortTestMethodsUsing = None
+    """Test runner for build performance tests"""
 
     def __init__(self, out_dir, *args, **kwargs):
         super().__init__(*args, **kwargs)