mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
tidy: A few small improvements and fixes (#30941)
1. Make the tidy output easier to follow 2. Integrate the WPT manifest cleanliness step into tidy itself and don't run it if nothing has changed in the WPT directory. 3. Fix an issue where Python test requirements were not installed, which could cause issues with some modules not being found. Fixes #30002.
This commit is contained in:
parent
f58541e652
commit
516cc2cbca
5 changed files with 134 additions and 176 deletions
|
@ -31,8 +31,9 @@ def create_parser():
|
|||
return p
|
||||
|
||||
|
||||
def update(check_clean=True, rebuild=False, **kwargs):
|
||||
logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
|
||||
def update(check_clean=True, rebuild=False, logger=None, **kwargs):
|
||||
if not logger:
|
||||
logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
|
||||
kwargs = {"config": os.path.join(WPT_PATH, "config.ini"),
|
||||
"product": "servo",
|
||||
"manifest_path": os.path.join(WPT_PATH, "meta"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue