summaryrefslogtreecommitdiffstats
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:41 +0100
commit44188933ce52544a31f0692393deea2a9acc56f7 (patch)
treefa52ffa4d8cf76e628b91275d7eb3e9362ed3cc0 /meta/lib/oeqa/buildperf
parente16f00862f463f90943c08aaedc32896885b7a47 (diff)
downloadpoky-44188933ce52544a31f0692393deea2a9acc56f7.tar.gz
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>
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):
97 self.git_commit, self.git_commit_count, self.git_branch = \ 97 self.git_commit, self.git_commit_count, self.git_branch = \
98 self.get_git_revision() 98 self.get_git_revision()
99 self.hostname = socket.gethostname() 99 self.hostname = socket.gethostname()
100 self.product = os.getenv('OE_BUILDPERFTEST_PRODUCT', 'oe-core')
100 self.start_time = self.elapsed_time = None 101 self.start_time = self.elapsed_time = None
101 self.successes = [] 102 self.successes = []
102 log.info("Using Git branch:commit %s:%s (%s)", self.git_branch, 103 log.info("Using Git branch:commit %s:%s (%s)", self.git_branch,