diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-02-03 10:27:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-05 09:22:18 +0000 |
commit | 297c16866097ab82950ac5d3d598e33d5e8fd307 (patch) | |
tree | 14b3e8b75ed9837b219097000b41304b73b4663f /meta/lib/oeqa | |
parent | 45cbf0f4f8f3fcf2c0678d9cabdda2a3d4c2eadb (diff) | |
download | poky-297c16866097ab82950ac5d3d598e33d5e8fd307.tar.gz |
oeqa.buildperf: reword test descriptions
In an attempt to make them more compact and coherent.
(From OE-Core rev: 7e7252108d5e3503888efe0e603b3883fdc793e8)
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/buildperf/test_basic.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py index 7a48c1e77f..47118306b7 100644 --- a/meta/lib/oeqa/buildperf/test_basic.py +++ b/meta/lib/oeqa/buildperf/test_basic.py | |||
@@ -22,7 +22,7 @@ class Test1P1(BuildPerfTestCase): | |||
22 | build_target = 'core-image-sato' | 22 | build_target = 'core-image-sato' |
23 | 23 | ||
24 | def test1(self): | 24 | def test1(self): |
25 | """Measure wall clock of bitbake core-image-sato and size of tmp dir""" | 25 | """Build core-image-sato""" |
26 | self.rm_tmp() | 26 | self.rm_tmp() |
27 | self.rm_sstate() | 27 | self.rm_sstate() |
28 | self.rm_cache() | 28 | self.rm_cache() |
@@ -36,7 +36,7 @@ class Test1P2(BuildPerfTestCase): | |||
36 | build_target = 'virtual/kernel' | 36 | build_target = 'virtual/kernel' |
37 | 37 | ||
38 | def test12(self): | 38 | def test12(self): |
39 | """Measure bitbake virtual/kernel""" | 39 | """Build virtual/kernel""" |
40 | # Build and cleans state in order to get all dependencies pre-built | 40 | # Build and cleans state in order to get all dependencies pre-built |
41 | self.log_cmd_output(['bitbake', self.build_target]) | 41 | self.log_cmd_output(['bitbake', self.build_target]) |
42 | self.log_cmd_output(['bitbake', self.build_target, '-c', 'cleansstate']) | 42 | self.log_cmd_output(['bitbake', self.build_target, '-c', 'cleansstate']) |
@@ -72,7 +72,7 @@ class Test2(BuildPerfTestCase): | |||
72 | build_target = 'core-image-sato' | 72 | build_target = 'core-image-sato' |
73 | 73 | ||
74 | def test2(self): | 74 | def test2(self): |
75 | """Measure bitbake core-image-sato -c rootfs with sstate""" | 75 | """Run core-image-sato do_rootfs with sstate""" |
76 | # Build once in order to populate sstate cache | 76 | # Build once in order to populate sstate cache |
77 | self.log_cmd_output(['bitbake', self.build_target]) | 77 | self.log_cmd_output(['bitbake', self.build_target]) |
78 | 78 | ||
@@ -86,7 +86,7 @@ class Test2(BuildPerfTestCase): | |||
86 | class Test3(BuildPerfTestCase): | 86 | class Test3(BuildPerfTestCase): |
87 | 87 | ||
88 | def test3(self): | 88 | def test3(self): |
89 | """Parsing time metrics (bitbake -p)""" | 89 | """Bitbake parsing (bitbake -p)""" |
90 | # Drop all caches and parse | 90 | # Drop all caches and parse |
91 | self.rm_cache() | 91 | self.rm_cache() |
92 | oe.path.remove(os.path.join(self.bb_vars['TMPDIR'], 'cache'), True) | 92 | oe.path.remove(os.path.join(self.bb_vars['TMPDIR'], 'cache'), True) |