diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-05-16 14:23:43 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-25 22:59:55 +0100 |
commit | 55726e931536ed0cbd7b80588060b05a3145c934 (patch) | |
tree | f84e2a30091683be2bf3928a6cd637e164d361a0 /meta/lib/oeqa/buildperf | |
parent | 9b3c7c47f5d0fa473fe1db81b59b26531414781c (diff) | |
download | openembedded-core-contrib-55726e931536ed0cbd7b80588060b05a3145c934.tar.gz |
oeqa.utils.git: introduce GitRepo.rev_parse()
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/buildperf')
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index 30b8e475562..6a8d9feb022 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py @@ -114,7 +114,7 @@ class BuildPerfTestResult(unittest.TextTestResult): "and OE_BUILDPERFTEST_GIT_BRANCH environment variables") else: if not rev: - rev = self.repo.run_cmd(['rev-parse', 'HEAD']) + rev = self.repo.rev_parse('HEAD') if not branch: try: # Strip 11 chars, i.e. 'refs/heads' from the beginning |