runtests.py (470B)
1 #!/usr/bin/env python 2 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 import os 8 import sys 9 10 here = os.path.split(os.path.abspath(__file__))[0] 11 sys.path.insert(0, os.path.join(here, "tests", "tools", "wptrunner")) 12 13 from wptrunner import wptrunner 14 15 if __name__ == "__main__": 16 rv = wptrunner.main() 17 sys.exit(rv)