build-perf-test-wrapper: Fix missing variable

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2019-02-08 23:14:57 +00:00
parent 9a62bbf6b4
commit 07d4e99b6d

View File

@ -178,7 +178,7 @@ if git_repo:
url = args.publish_dir.replace(web_root, web_url) + "/" + filename + ".html"
with open(report_txt, "w") as f:
f.write("HTML Report/Graphs are available at:\n %s\n\n")
f.write("HTML Report/Graphs are available at:\n %s\n\n" % url)
subprocess.check_call("BDIR=%s . ./oe-init-build-env >/dev/null; oe-build-perf-report -r %s >> %s" % (build_dir, git_repo, report_txt), shell=True)
subprocess.check_call("BDIR=%s . ./oe-init-build-env >/dev/null; oe-build-perf-report -r %s --html > %s " % (build_dir, git_repo, report_html), shell=True)