diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-05-11 13:54:13 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:08:49 +0100 |
commit | 15b44a484ce408b0a1acfb907e2b12ebc6cce296 (patch) | |
tree | 08611978ec74b6707e5db703c0aaf3513bc0b798 | |
parent | 85cdc240e75d481e93238fbf75f8b8431da05f19 (diff) | |
download | openembedded-core-15b44a484ce408b0a1acfb907e2b12ebc6cce296.tar.gz openembedded-core-15b44a484ce408b0a1acfb907e2b12ebc6cce296.tar.bz2 openembedded-core-15b44a484ce408b0a1acfb907e2b12ebc6cce296.zip |
oeqa.buildperf: add method for saving buildstats
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index e29e9d1579..c54b70cb11 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py @@ -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'""" |