mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16: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
|
@ -4,6 +4,7 @@
|
|||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
from .. import testloader
|
||||
|
@ -93,6 +94,14 @@ class UpdateCheckout(Step):
|
|||
sync_tree.update(state.sync["remote_url"],
|
||||
state.sync["branch"],
|
||||
state.local_branch)
|
||||
sync_path = os.path.abspath(sync_tree.root)
|
||||
if not sync_path in sys.path:
|
||||
from update import setup_paths
|
||||
setup_paths(sync_path)
|
||||
|
||||
def restore(self, state):
|
||||
assert os.path.abspath(state.sync_tree.root) in sys.path
|
||||
Step.restore(self, state)
|
||||
|
||||
|
||||
class GetSyncTargetCommit(Step):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue