diff options
author | Ross Burton <ross.burton@intel.com> | 2018-03-15 13:13:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-16 03:42:09 -0700 |
commit | 674cdda1b973f87f5adb3f98c24f3b088e21ae0f (patch) | |
tree | 8eb3372ee140df74d12dbccf0f42fe1fa365dfaf /meta | |
parent | dec7f4f17de99110352cfa8b97583b8193b40ef6 (diff) | |
download | poky-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')
-rw-r--r-- | meta/lib/oeqa/buildperf/test_basic.py | 4 |
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 | ||
16 | import oe.path | 16 | import oe.path |
17 | from oeqa.buildperf import BuildPerfTestCase | 17 | from oeqa.buildperf import BuildPerfTestCase |
18 | from oeqa.utils.commands import get_bb_vars | 18 | from oeqa.utils.commands import get_bb_var, get_bb_vars |
19 | |||
20 | 19 | ||
21 | class Test1P1(BuildPerfTestCase): | 20 | class 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 | ||
35 | class Test1P2(BuildPerfTestCase): | 35 | class Test1P2(BuildPerfTestCase): |