blob: 88c267c7e51f2ad0ed6114d837d347ddbb7fd01b [file] [log] [blame]
#!/usr/bin/env vpython
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Pushes changes to web-platform-tests inside Chromium to the upstream repo."""
from webkitpy.common import exit_codes
from import Host
from webkitpy.w3c.test_exporter import TestExporter
def main():
host = Host()
exporter = TestExporter(host)
success = exporter.main()
host.exit(0 if success else 1)
except KeyboardInterrupt:
host.print_('Interrupted, exiting')
if __name__ == '__main__':