summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/buildperf/base.py1
-rwxr-xr-xscripts/oe-build-perf-test2
2 files changed, 2 insertions, 1 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) + '$')
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index cd27584120..35a4839d4d 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -140,7 +140,7 @@ def parse_args(argv):
140 default="{git_branch}", 140 default="{git_branch}",
141 help="Commit results to branch BRANCH.") 141 help="Commit results to branch BRANCH.")
142 parser.add_argument('--commit-results-tag', metavar='TAG', 142 parser.add_argument('--commit-results-tag', metavar='TAG',
143 default="{git_branch}/{git_commit}/{tag_num}", 143 default="{git_branch}/{git_commit_count}-g{git_commit}/{tag_num}",
144 help="Tag results commit with TAG.") 144 help="Tag results commit with TAG.")
145 145
146 return parser.parse_args(argv) 146 return parser.parse_args(argv)