summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-15 13:13:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-16 03:42:09 -0700
commit674cdda1b973f87f5adb3f98c24f3b088e21ae0f (patch)
tree8eb3372ee140df74d12dbccf0f42fe1fa365dfaf /meta/lib
parentdec7f4f17de99110352cfa8b97583b8193b40ef6 (diff)
downloadpoky-674cdda1b973f87f5adb3f98c24f3b088e21ae0f.tar.gz
buildperf: measure the size of core-image-sato rootfs
(From OE-Core rev: c94271d87d16323f920891344642f76dfb3c994f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/buildperf/test_basic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py
index a19089a6ed..6d6b01b04b 100644
--- a/meta/lib/oeqa/buildperf/test_basic.py
+++ b/meta/lib/oeqa/buildperf/test_basic.py
@@ -15,8 +15,7 @@ import shutil
15 15
16import oe.path 16import oe.path
17from oeqa.buildperf import BuildPerfTestCase 17from oeqa.buildperf import BuildPerfTestCase
18from oeqa.utils.commands import get_bb_vars 18from oeqa.utils.commands import get_bb_var, get_bb_vars
19
20 19
21class Test1P1(BuildPerfTestCase): 20class Test1P1(BuildPerfTestCase):
22 build_target = 'core-image-sato' 21 build_target = 'core-image-sato'
@@ -30,6 +29,7 @@ class Test1P1(BuildPerfTestCase):
30 self.measure_cmd_resources(['bitbake', self.build_target], 'build', 29 self.measure_cmd_resources(['bitbake', self.build_target], 'build',
31 'bitbake ' + self.build_target, save_bs=True) 30 'bitbake ' + self.build_target, save_bs=True)
32 self.measure_disk_usage(self.bb_vars['TMPDIR'], 'tmpdir', 'tmpdir') 31 self.measure_disk_usage(self.bb_vars['TMPDIR'], 'tmpdir', 'tmpdir')
32 self.measure_disk_usage(get_bb_var("IMAGE_ROOTFS", self.build_target), 'rootfs', 'rootfs', True)
33 33
34 34
35class Test1P2(BuildPerfTestCase): 35class Test1P2(BuildPerfTestCase):