summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/buildperf/__init__.py1
-rw-r--r--meta/lib/oeqa/buildperf/base.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oeqa/buildperf/__init__.py b/meta/lib/oeqa/buildperf/__init__.py
index add3be2944..7e51726afb 100644
--- a/meta/lib/oeqa/buildperf/__init__.py
+++ b/meta/lib/oeqa/buildperf/__init__.py
@@ -12,6 +12,7 @@
"""Build performance tests"""
from .base import (perf_test_case,
BuildPerfTestCase,
+ BuildPerfTestLoader,
BuildPerfTestRunner,
KernelDropCaches)
from .test_basic import *
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index 53ac9764a2..1ee546dd85 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -325,3 +325,8 @@ class BuildPerfTestCase(unittest.TestCase):
os.sync()
# Wait a bit for all the dirty blocks to be written onto disk
time.sleep(3)
+
+
+class BuildPerfTestLoader(unittest.TestLoader):
+ """Test loader for build performance tests"""
+ sortTestMethodsUsing = None