]> code.ossystems Code Review - openembedded-core.git/commit
oeqa.buildperf: add git revision and branch to result data
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 23 Jun 2016 15:38:35 +0000 (18:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2016 15:08:51 +0000 (16:08 +0100)
commite6004582454d8c6a18f617c12e6e408ded5be8df
treecc34369ee5550751d8a978eb79a8a11c3bdfa452
parent4eaf434f885afbda03fe67ab6e9ff291c7a9c77e
oeqa.buildperf: add git revision and branch to result data

BuildPerfTestRunner determines these from the Git repository under which
it is being run (i.e. where the build directory exists). The branch and
revision may be defined/overridden with OE_BUILDPERFTEST_GIT_BRANCH
and OE_BUILDPERFTEST_GIT_BRANCH environment variables, if needed. This
makes it possible to run the build performance test script even if the
top directory is not a git repository clone, for example.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/buildperf/base.py