mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Update to latest wptrunner (036c9931).
This commit is contained in:
parent
88d9c1b257
commit
f837e575fe
33 changed files with 709 additions and 229 deletions
|
@ -14,7 +14,7 @@ from base import Step, StepRunner, exit_clean, exit_unclean
|
|||
from state import State
|
||||
|
||||
def setup_paths(sync_path):
|
||||
sys.path.insert(0, sync_path)
|
||||
sys.path.insert(0, os.path.abspath(sync_path))
|
||||
from tools import localpaths
|
||||
|
||||
class LoadConfig(Step):
|
||||
|
@ -117,7 +117,9 @@ class WPTUpdate(object):
|
|||
if not kwargs["sync"]:
|
||||
setup_paths(self.serve_root)
|
||||
else:
|
||||
setup_paths(kwargs["sync_path"])
|
||||
if os.path.exists(kwargs["sync_path"]):
|
||||
# If the sync path doesn't exist we defer this until it does
|
||||
setup_paths(kwargs["sync_path"])
|
||||
|
||||
self.state = State(logger)
|
||||
self.kwargs = kwargs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue