oeqa.buildperf: add BuildPerfTestLoader class

(From OE-Core rev: b281c4a49b0df1de9b3137efb8ff50744e06c48d)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen 2016-06-27 15:15:57 +03:00 committed by Richard Purdie
parent 3f519df38e
commit 3acf648f58
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,7 @@
"""Build performance tests"""
from .base import (perf_test_case,
BuildPerfTestCase,
BuildPerfTestLoader,
BuildPerfTestRunner,
KernelDropCaches)
from .test_basic import *

View File

@ -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