mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
oeqa.buildperf: add 'product' to test result data
This defaults to 'oe-core' but can be defined using the OE_BUILDPERF_PRODUCT environment variable. (From OE-Core rev: a22cc3e04001be5d11bd85dbdceb7088cae7c735) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e16f00862f
commit
44188933ce
|
@ -97,6 +97,7 @@ class BuildPerfTestResult(unittest.TextTestResult):
|
|||
self.git_commit, self.git_commit_count, self.git_branch = \
|
||||
self.get_git_revision()
|
||||
self.hostname = socket.gethostname()
|
||||
self.product = os.getenv('OE_BUILDPERFTEST_PRODUCT', 'oe-core')
|
||||
self.start_time = self.elapsed_time = None
|
||||
self.successes = []
|
||||
log.info("Using Git branch:commit %s:%s (%s)", self.git_branch,
|
||||
|
|
Loading…
Reference in New Issue
Block a user