[oe-commits] [openembedded-core] 53/62: oeqa.buildperf: add BuildPerfTestLoader class

git at git.openembedded.org git at git.openembedded.org
Wed Aug 17 09:37:10 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b281c4a49b0df1de9b3137efb8ff50744e06c48d
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Mon Jun 27 15:15:57 2016 +0300

    oeqa.buildperf: add BuildPerfTestLoader class
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/buildperf/__init__.py | 1 +
 meta/lib/oeqa/buildperf/base.py     | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/meta/lib/oeqa/buildperf/__init__.py b/meta/lib/oeqa/buildperf/__init__.py
index add3be2..7e51726 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 53ac976..1ee546d 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list