[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2191/8267] oeqa.buildperf: add 'product' to test result data



commit 44188933ce52544a31f0692393deea2a9acc56f7
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   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.
    
    (From OE-Core rev: a22cc3e04001be5d11bd85dbdceb7088cae7c735)
    
    Signed-off-by: Markus Lehtonen <markus lehtonen linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oeqa/buildperf/base.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]