summaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-test
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-23 13:41:53 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 22:03:47 (GMT)
commitcaf6ad889cc4db9d4af33ee15381d0148374dd12 (patch)
treee7f0f18a19b9023005c6ac37cb1505b5eec6d2ec /scripts/oe-build-perf-test
parent06b2c75c7e56d520a57302e4cc9a622137a4ca74 (diff)
downloadpoky-caf6ad889cc4db9d4af33ee15381d0148374dd12.tar.gz
oe-build-perf-test: new {tag_num} keyword for --commit-results-tag
This makes it possible to create numbered tags, where the "basename" of the tag is the same and the only difference is an (automatically) increasing index number. This is useful if you do multiple test runs on the same commit. For example, using: --commit-results-tag {tester_host}/{git_commit}/{tag_num} would give you tags something like: myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/0 myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/1 ... The default tag format is updated to use this new keyword in order to prevent unintentional tag name clashes. (From OE-Core rev: cf2aba16338a147f81802f48d2e24a96c7133548) 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 1ed5bdb..cd27584 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}", 143 default="{git_branch}/{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)