mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +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:
committed by
Richard Purdie
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,
|
||||
|
||||
Reference in New Issue
Block a user