[oe-commits] [openembedded-core] 15/19: oe-build-perf-report: Allow commits from different branches
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 25 23:13:04 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch sumo-next
in repository openembedded-core.
commit c6351550a9bff3e0b0e3d3c0baefed4041c47b33
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Feb 8 13:38:22 2019 +0000
oe-build-perf-report: Allow commits from different branches
The code won't currently allow comparisions of two commits on different
branches even if the commits are specified by their hashes.
This updates the code to search two branches for any relavent commits,
hence allowing comparisions to be made. A particularly useful case is
master vs. master-next for example.
(From OE-Core rev: 2d835bb1570c515ae501442f3ce19fae8e249b27)
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-build-perf-report | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 38c0ee8..2d64e30 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -540,6 +540,7 @@ Examine build performance test results from a Git repository"""
help="Tag name (pattern) for finding results")
group.add_argument('--hostname', '-H')
group.add_argument('--branch', '-B', default='master')
+ group.add_argument('--branch2')
group.add_argument('--machine', default='qemux86')
group.add_argument('--history-length', default=25, type=int,
help="Number of tested revisions to plot in html report")
@@ -577,6 +578,10 @@ def main(argv=None):
revs = get_test_revs(repo, args.tag_name, hostname=args.hostname,
branch=args.branch, machine=args.machine)
+ if args.branch2:
+ revs = revs + get_test_revs(repo, args.tag_name, hostname=args.hostname,
+ branch=args.branch2, machine=args.machine)
+
if len(revs) < 2:
log.error("%d tester revisions found, unable to generate report",
len(revs))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list