summaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-report
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-build-perf-report')
-rwxr-xr-xscripts/oe-build-perf-report6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index defd930b04..89d9d6f6b5 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -85,7 +85,9 @@ def get_test_runs(repo, tag_name, **kwargs):
85 85
86def list_test_revs(repo, tag_name, verbosity, **kwargs): 86def list_test_revs(repo, tag_name, verbosity, **kwargs):
87 """Get list of all tested revisions""" 87 """Get list of all tested revisions"""
88 fields, revs = get_test_runs(repo, tag_name, **kwargs) 88 valid_kwargs = dict([(k, v) for k, v in kwargs.items() if v is not None])
89
90 fields, revs = get_test_runs(repo, tag_name, **valid_kwargs)
89 ignore_fields = ['tag_number'] 91 ignore_fields = ['tag_number']
90 if verbosity < 2: 92 if verbosity < 2:
91 extra_fields = ['COMMITS', 'TEST RUNS'] 93 extra_fields = ['COMMITS', 'TEST RUNS']
@@ -509,7 +511,7 @@ def main(argv=None):
509 repo = GitRepo(args.repo) 511 repo = GitRepo(args.repo)
510 512
511 if args.list: 513 if args.list:
512 list_test_revs(repo, args.tag_name, args.list) 514 list_test_revs(repo, args.tag_name, args.list, hostname=args.hostname)
513 return 0 515 return 0
514 516
515 # Determine hostname which to use 517 # Determine hostname which to use