testing/web-platform/runtests.py
author James Graham <james@hoppipolla.co.uk>
Thu, 18 May 2017 18:50:08 +0100
changeset 412007 1779def97af35adfe0edff828dee51f92956f6ed
parent 279650 21dc18a3693bfcc245db238005b0d1b40809b3ac
child 412012 53bdf471a120166b1e8417e1eeb942a514817489
permissions -rw-r--r--
Bug 1367040 - Switch to using wptrunner in the tests directory, r=maja_zf MozReview-Commit-ID: 4gyR245eRou

#!/usr/bin/env python

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import os
import sys

here = os.path.split(os.path.abspath(__file__))[0]
sys.path.insert(0, os.path.join(here, "tests", "tools", "wptrunner"))

from wptrunner import wptrunner

if __name__ == "__main__":
    rv = wptrunner.main()
    sys.exit(rv)