mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Prepare v2022.01-rc3
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGk/4sACgkQFHw5/5Y0 tyyjtgwAo0jCRa1Vyc5z2RrINGdARoPhNcCnBNMYEVTjH9uP0/Mzlpo4i1IWX5qP nEuVmP01KjtWDRNy7Cpr45/j2PkTZ0THqXGZKpTG/yALdUKZw0wbzeh/CMllWh0A 9yJfMbv2/IV79rbb6osxItjusSr5PnrU5fHsR+zUfC8NRZpzWGfpH8a6NpfGvGYo 3OUKNJrGv930C3MqVnUEHPIuz+vL9fWLSs/rK/JHVZt+ALU45uYtz4cKycMoElVd IUJe3mhKhw0k8dO8R+p3UAEFrP+LZdcBLgCt8wRQK6Yl4lcxYOtZgYuJuM9Kp20s abqIuky3TWwFjpNM60Gmo63Yf967jOeI/lfITq2juZ5TBlNKOO6Z/NRVUsHkNKFG 7qJC14/NxuSdN4u9s2h+rJBBGYc+BzWVO/ikigHnsCeFQYfafJpGTnPSJr55OU5X eeB6l3blx6jwxOPAz0JhLecZb4e027R+eKionirMEnVPENtnJjF1d+CulkekahUO LvdqKaBE =h4j5 -----END PGP SIGNATURE----- Merge tag 'v2022.01-rc3' into next Prepare v2022.01-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
commit
2402c93130
77 changed files with 2130 additions and 344 deletions
|
@ -2,8 +2,10 @@
|
|||
# Copyright (c) 2015 Stephen Warren
|
||||
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
# Generate an HTML-formatted log file containing multiple streams of data,
|
||||
# each represented in a well-delineated/-structured fashion.
|
||||
"""
|
||||
Generate an HTML-formatted log file containing multiple streams of data,
|
||||
each represented in a well-delineated/-structured fashion.
|
||||
"""
|
||||
|
||||
import datetime
|
||||
import html
|
||||
|
@ -180,7 +182,7 @@ class RunAndLog(object):
|
|||
raise exception
|
||||
return output
|
||||
|
||||
class SectionCtxMgr(object):
|
||||
class SectionCtxMgr:
|
||||
"""A context manager for Python's "with" statement, which allows a certain
|
||||
portion of test code to be logged to a separate section of the log file.
|
||||
Objects of this type should be created by factory functions in the Logfile
|
||||
|
@ -208,7 +210,7 @@ class SectionCtxMgr(object):
|
|||
def __exit__(self, extype, value, traceback):
|
||||
self.log.end_section(self.marker)
|
||||
|
||||
class Logfile(object):
|
||||
class Logfile:
|
||||
"""Generates an HTML-formatted log file containing multiple streams of
|
||||
data, each represented in a well-delineated/-structured fashion."""
|
||||
|
||||
|
@ -322,8 +324,8 @@ $(document).ready(function () {
|
|||
# The set of characters that should be represented as hexadecimal codes in
|
||||
# the log file.
|
||||
_nonprint = {ord('%')}
|
||||
_nonprint.update({c for c in range(0, 32) if c not in (9, 10)})
|
||||
_nonprint.update({c for c in range(127, 256)})
|
||||
_nonprint.update(c for c in range(0, 32) if c not in (9, 10))
|
||||
_nonprint.update(range(127, 256))
|
||||
|
||||
def _escape(self, data):
|
||||
"""Render data format suitable for inclusion in an HTML document.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue