aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-23 17:08:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 23:00:06 +0100
commite3161654d75dfc3b059c519205b38b26e3ffb215 (patch)
treefd218412a691e7e83bb075ada80e0e46f50e744e /scripts
parentb52070dd057ff5b410cd193f9be2f25bc4c506cc (diff)
downloadopenembedded-core-contrib-e3161654d75dfc3b059c519205b38b26e3ffb215.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. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-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 cd27584120..35a4839d4d 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -140,7 +140,7 @@ def parse_args(argv):
default="{git_branch}",
help="Commit results to branch BRANCH.")
parser.add_argument('--commit-results-tag', metavar='TAG',
- default="{git_branch}/{git_commit}/{tag_num}",
+ default="{git_branch}/{git_commit_count}-g{git_commit}/{tag_num}",
help="Tag results commit with TAG.")
return parser.parse_args(argv)