summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/buildperf
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-29 22:48:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 09:58:29 +0100
commita22cc3e04001be5d11bd85dbdceb7088cae7c735 (patch)
tree5d99b9ea2a77ce02895709af51b2699599b07e77 /meta/lib/oeqa/buildperf
parent8036975b268fe209476e230555006facd3cbda71 (diff)
downloadopenembedded-core-a22cc3e04001be5d11bd85dbdceb7088cae7c735.tar.gz
openembedded-core-a22cc3e04001be5d11bd85dbdceb7088cae7c735.tar.bz2
openembedded-core-a22cc3e04001be5d11bd85dbdceb7088cae7c735.zip
oeqa.buildperf: add 'product' to test result data
This defaults to 'oe-core' but can be defined using the OE_BUILDPERF_PRODUCT environment variable. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/buildperf')
-rw-r--r--meta/lib/oeqa/buildperf/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index dbc534efe3..ed8ff4ae29 100644
--- a/meta/lib/oeqa/buildperf/base.py
+++ b/meta/lib/oeqa/buildperf/base.py
@@ -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,