mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Override timeout in WebGPU CTS to always be "long" (#31952)
* Long webgpu timeout * Update expectations * reupdate expectations 2 * re * update-webgpu * Update testing_commands.py with better comment
This commit is contained in:
parent
2f5a4354e7
commit
8c25336e9a
4 changed files with 6500 additions and 2506 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue