diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-08-23 17:08:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-25 23:03:47 +0100 |
commit | 7155a9b64d859962b66e338703ff83e1a5040b32 (patch) | |
tree | 91e4a23f16374ca894a15a6412451d76ddb3236c /meta/lib/oeqa | |
parent | d0bac259bd4648b7a8e39e882049c892a9db9112 (diff) | |
download | poky-7155a9b64d859962b66e338703ff83e1a5040b32.tar.gz |
oe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag
Makes it possible to create easily sortable tags. Also, the default tag
format is updated to use the new keyword.
(From OE-Core rev: e3161654d75dfc3b059c519205b38b26e3ffb215)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | 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 f29c167307..97be58f0a1 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py | |||
@@ -233,6 +233,7 @@ class BuildPerfTestResult(unittest.TextTestResult): | |||
233 | # Find tags matching the pattern | 233 | # Find tags matching the pattern |
234 | tag_keywords = dict(git_branch=self.git_branch, | 234 | tag_keywords = dict(git_branch=self.git_branch, |
235 | git_commit=self.git_commit, | 235 | git_commit=self.git_commit, |
236 | git_commit_count=self.git_commit_count, | ||
236 | tester_host=self.hostname, | 237 | tester_host=self.hostname, |
237 | tag_num='[0-9]{1,5}') | 238 | tag_num='[0-9]{1,5}') |
238 | tag_re = re.compile(tag.format(**tag_keywords) + '$') | 239 | tag_re = re.compile(tag.format(**tag_keywords) + '$') |