summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/runtests.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/runtests.py')
-rw-r--r--testing/web-platform/runtests.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/runtests.py b/testing/web-platform/runtests.py
new file mode 100644
index 0000000000..e12cea5533
--- /dev/null
+++ b/testing/web-platform/runtests.py
@@ -0,0 +1,17 @@
+#!/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)