diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2024-04-01 10:27:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 08:27:46 +0000 |
commit | 8c25336e9af0a1ca32107622d94993f9c834d46c (patch) | |
tree | 9845ea3ecfc9e7bf082bd378ab8c7459bd6298e6 /python/servo/testing_commands.py | |
parent | 2f5a4354e71a054e219efd99f1a0266ad655b841 (diff) | |
download | servo-8c25336e9af0a1ca32107622d94993f9c834d46c.tar.gz servo-8c25336e9af0a1ca32107622d94993f9c834d46c.zip |
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
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) |