mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 12:49:02 +02:00
scripts/generate-testresult-index.py: Add back data.json generation
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
da2c03a6cb
commit
9ada77ab57
|
@ -180,6 +180,9 @@ for build in sorted(os.listdir(path), key=keygen, reverse=True):
|
|||
with open(sys.path[0] + "/index-table.html") as file_:
|
||||
t = Template(file_.read())
|
||||
|
||||
with open(os.path.join(path, "data.json"), 'w') as f:
|
||||
json.dump(entries, f)
|
||||
|
||||
with open(os.path.join(path, "index.html"), 'w') as f:
|
||||
f.write(t.render(entries = entries, filter_items = filter_items))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user