[oe-commits] [openembedded-core] 59/102: oeqa.buildperf: add 'product' to test result data

git at git.openembedded.org git at git.openembedded.org
Tue Aug 30 22:58:29 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 961c7c01249dd5c166cf786cd30901633e4a6ab2
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Mon Aug 29 22:48:20 2016 +0300

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list