summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-06-27 15:15:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:35:18 +0100
commitb281c4a49b0df1de9b3137efb8ff50744e06c48d (patch)
tree4be73336f393bd18d2509f42ad196b1e4169c08f
parentb0b434210a3dbd576f68344e29b8c20d18561099 (diff)
downloadopenembedded-core-contrib-b281c4a49b0df1de9b3137efb8ff50744e06c48d.tar.gz
openembedded-core-contrib-b281c4a49b0df1de9b3137efb8ff50744e06c48d.tar.bz2
openembedded-core-contrib-b281c4a49b0df1de9b3137efb8ff50744e06c48d.zip
oeqa.buildperf: add BuildPerfTestLoader class
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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