mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
oeqa.buildperf: add method for saving buildstats
(From OE-Core rev: 15b44a484ce408b0a1acfb907e2b12ebc6cce296) 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:
committed by
Richard Purdie
parent
45c6a04a37
commit
6512d6956b
@@ -172,6 +172,11 @@ class BuildPerfTest(object):
|
||||
measurement['values'] = {'size': size}
|
||||
self.results['measurements'].append(measurement)
|
||||
|
||||
def save_buildstats(self):
|
||||
"""Save buildstats"""
|
||||
shutil.move(self.bb_vars['BUILDSTATS_BASE'],
|
||||
os.path.join(self.out_dir, 'buildstats-' + self.name))
|
||||
|
||||
@staticmethod
|
||||
def force_rm(path):
|
||||
"""Equivalent of 'rm -rf'"""
|
||||
|
||||
Reference in New Issue
Block a user