diff options
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index d496e7e8188..bedabde0248 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -741,6 +741,10 @@ tests/wpt/mozilla/tests for Servo-only tests""" % reference_path) filedata = file.read() # files are mounted differently filedata = filedata.replace('src=/webgpu/common/runtime/wpt.js', 'src=../webgpu/common/runtime/wpt.js') + # Mark all webgpu tests as long to increase their timeouts. This is needed due to wgpu's slowness. + # TODO: replace this with more fine grained solution: https://github.com/servo/servo/issues/30999 + filedata = filedata.replace('<meta charset=utf-8>', + '<meta charset=utf-8>\n<meta name="timeout" content="long">') # Write the file out again with open(cts_html, 'w') as file: file.write(filedata) |