aboutsummaryrefslogtreecommitdiffstats
path: root/third_party/webrender/wrench/script/reftest-debugger.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-07-03 17:43:57 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-07-03 17:55:17 +0200
commit49277f5c3f3bb5a9ce2ceeb3f02cd7638a8da1e7 (patch)
treee051984a9ae1d7c59a5e8d1941eae1aa6a7cf9a6 /third_party/webrender/wrench/script/reftest-debugger.py
parentc19eb800de71bf06736781ca1cf9d57620d66f8d (diff)
downloadservo-49277f5c3f3bb5a9ce2ceeb3f02cd7638a8da1e7.tar.gz
servo-49277f5c3f3bb5a9ce2ceeb3f02cd7638a8da1e7.zip
Vendor the current version of WebRender
This is a step toward upgrading WebRender, which will be upgraded and patched in the `third_party` directory. This change vendors the current private branch of WebRender that we use and adds a `patches` directory which tracks the changes on top of the upstream WebRender commit described by third_party/webrender/patches/head.
Diffstat (limited to 'third_party/webrender/wrench/script/reftest-debugger.py')
-rwxr-xr-xthird_party/webrender/wrench/script/reftest-debugger.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/webrender/wrench/script/reftest-debugger.py b/third_party/webrender/wrench/script/reftest-debugger.py
new file mode 100755
index 00000000000..19a2a198901
--- /dev/null
+++ b/third_party/webrender/wrench/script/reftest-debugger.py
@@ -0,0 +1,15 @@
+#!/usr/bin/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/.
+
+from __future__ import print_function
+import subprocess
+
+with open('reftest.log', "w") as out:
+ try:
+ subprocess.check_call(['script/headless.py', 'reftest'], stdout=out)
+ print("All tests passed.")
+ except subprocess.CalledProcessError as ex:
+ subprocess.check_call(['firefox', 'reftest-analyzer.xhtml#logurl=reftest.log'])