summaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-test
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-23 14:08:40 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 22:03:47 (GMT)
commit7155a9b64d859962b66e338703ff83e1a5040b32 (patch)
tree91e4a23f16374ca894a15a6412451d76ddb3236c /scripts/oe-build-perf-test
parentd0bac259bd4648b7a8e39e882049c892a9db9112 (diff)
downloadpoky-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 'scripts/oe-build-perf-test')
-rwxr-xr-xscripts/oe-build-perf-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index cd27584..35a4839 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)