diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-06-27 15:15:57 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:18 +0100 |
commit | b281c4a49b0df1de9b3137efb8ff50744e06c48d (patch) | |
tree | 4be73336f393bd18d2509f42ad196b1e4169c08f /meta | |
parent | b0b434210a3dbd576f68344e29b8c20d18561099 (diff) | |
download | openembedded-core-b281c4a49b0df1de9b3137efb8ff50744e06c48d.tar.gz openembedded-core-b281c4a49b0df1de9b3137efb8ff50744e06c48d.tar.bz2 openembedded-core-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/buildperf/__init__.py | 1 | ||||
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 5 |
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 |