blob: 37ab5409ec798ac44f97eec1cc90e3207cdd78ad [file] [log] [blame]
#!/usr/bin/env python
if __name__ == "__main__":
from tools.wpt import wpt
from sys import version_info, argv, exit
args, extra = wpt.parse_args(argv[1:])
if args.py3 and version_info.major < 3:
from subprocess import call
exit(call(['python3', argv[0]] + [args.command] + extra))
else:
wpt.main()