mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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:
parent
3f519df38e
commit
3acf648f58
|
@ -12,6 +12,7 @@
|
||||||
"""Build performance tests"""
|
"""Build performance tests"""
|
||||||
from .base import (perf_test_case,
|
from .base import (perf_test_case,
|
||||||
BuildPerfTestCase,
|
BuildPerfTestCase,
|
||||||
|
BuildPerfTestLoader,
|
||||||
BuildPerfTestRunner,
|
BuildPerfTestRunner,
|
||||||
KernelDropCaches)
|
KernelDropCaches)
|
||||||
from .test_basic import *
|
from .test_basic import *
|
||||||
|
|
|
@ -325,3 +325,8 @@ class BuildPerfTestCase(unittest.TestCase):
|
||||||
os.sync()
|
os.sync()
|
||||||
# Wait a bit for all the dirty blocks to be written onto disk
|
# Wait a bit for all the dirty blocks to be written onto disk
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
|
|
||||||
|
class BuildPerfTestLoader(unittest.TestLoader):
|
||||||
|
"""Test loader for build performance tests"""
|
||||||
|
sortTestMethodsUsing = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user