[OE-core] [PATCH 01/12] oeqa.buildperf: add 'product' to test result data
Markus Lehtonen
markus.lehtonen at linux.intel.com
Mon Aug 29 19:48:20 UTC 2016
This defaults to 'oe-core' but can be defined using the
OE_BUILDPERF_PRODUCT environment variable.
Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
---
meta/lib/oeqa/buildperf/base.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py
index dbc534e..ed8ff4a 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,
--
2.6.6
More information about the Openembedded-core
mailing list