mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update run.sh and run.py for changes to wptrunner.
This commit is contained in:
parent
e2ccda060b
commit
326671577c
3 changed files with 21 additions and 3 deletions
12
src/test/wpt/config.ini
Normal file
12
src/test/wpt/config.ini
Normal file
|
@ -0,0 +1,12 @@
|
|||
#TODO: most of this doesn't really need to be configurable like this
|
||||
[web-platform-tests]
|
||||
remote_url = https://github.com/w3c/web-platform-tests.git
|
||||
branch = master
|
||||
sync_path = web-platform-tests
|
||||
|
||||
[local]
|
||||
test_path = tests
|
||||
metadata_path = metadata
|
||||
|
||||
[try]
|
||||
url = ssh://hg.mozilla.org/try
|
|
@ -36,10 +36,13 @@ def set_defaults(args):
|
|||
args.product = "servo"
|
||||
args.debug_args = None
|
||||
args.interactive = False
|
||||
return vars(args)
|
||||
args.chunk_type = "none"
|
||||
rv = vars(args)
|
||||
wptcommandline.check_args(rv)
|
||||
return rv
|
||||
|
||||
def main():
|
||||
parser = wptcommandline.create_parser(False)
|
||||
parser = wptcommandline.create_parser(product_choices=('servo',))
|
||||
parser.add_argument('--update-manifest', dest='update_manifest', action='store_true')
|
||||
args = parser.parse_args()
|
||||
if args.update_manifest:
|
||||
|
|
|
@ -16,4 +16,7 @@ if [[ $* == *--update-manifest* ]]; then
|
|||
fi
|
||||
(python -c "import wptrunner" &>/dev/null) || pip install wptrunner
|
||||
|
||||
python $servo_root/src/test/wpt/run.py --binary $objdir/../servo "$@"
|
||||
python $servo_root/src/test/wpt/run.py \
|
||||
--config $servo_root/src/test/wpt/config.ini \
|
||||
--binary $objdir/../servo \
|
||||
"$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue