From e3161654d75dfc3b059c519205b38b26e3ffb215 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 23 Aug 2016 17:08:40 +0300 Subject: 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. Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- meta/lib/oeqa/buildperf/base.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib/oeqa/buildperf/base.py') 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): # Find tags matching the pattern tag_keywords = dict(git_branch=self.git_branch, git_commit=self.git_commit, + git_commit_count=self.git_commit_count, tester_host=self.hostname, tag_num='[0-9]{1,5}') tag_re = re.compile(tag.format(**tag_keywords) + '$') -- cgit 1.2.3-korg