aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Broslavsky <serge.broslavsky@linaro.org>2020-10-27 18:48:17 +0200
committerSerge Broslavsky <serge.broslavsky@linaro.org>2020-10-27 18:48:17 +0200
commit965274ba2ac31cbd08b3ea98bf0964f45cf48842 (patch)
tree2de4c1c2b9b352f4a39e1aad59b503071e1c6092
parentfb74d3163d8cf821ea73c2d296cdaac023688a07 (diff)
downloadlkft-bucket-965274ba2ac31cbd08b3ea98bf0964f45cf48842.tar.gz
wip: report generation
-rw-r--r--stable_report.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/stable_report.py b/stable_report.py
index a9a92ac..226dbdc 100644
--- a/stable_report.py
+++ b/stable_report.py
@@ -810,10 +810,6 @@ def build_report(report_setup):
)
return
- environments = project.environments()
-
- suites = project.suites()
-
build = project.build(report_setup["build"])
if not build:
print(
@@ -834,7 +830,7 @@ def build_report(report_setup):
)
return None
- prev_report = compare_builds(
+ compared_to_prev = compare_builds(
group, project, environments, suites, prev_build, build
)
@@ -853,7 +849,7 @@ def build_report(report_setup):
)
return None
- base_report = (
+ compared_to_base = (
compare_builds(group, project, environments, suites, base_build, build)
if report_setup["base_build"]
and report_setup["prev_build"] != report_setup["base_build"]
@@ -927,6 +923,14 @@ def debug(group):
print("\nBuild:")
dump_object(build)
+ prev_build = project.build("v5.8.14-125-gf4ed6fb8f168")
+ compared_to_prev = Project.compare_builds(prev_build.id, build.id)
+
+ base_build = project.build("v5.8.13-86-g8bb413de12d0")
+ compared_to_base = Project.compare_builds(base_build.id, build.id)
+
+
+def other():
testruns = build.testruns(count=1000)
print("\n Test runs ({0}):".format(len(testruns)))