mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +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()
|
filedata = file.read()
|
||||||
# files are mounted differently
|
# files are mounted differently
|
||||||
filedata = filedata.replace('src=/webgpu/common/runtime/wpt.js', 'src=../webgpu/common/runtime/wpt.js')
|
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
|
# Write the file out again
|
||||||
with open(cts_html, 'w') as file:
|
with open(cts_html, 'w') as file:
|
||||||
file.write(filedata)
|
file.write(filedata)
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -22,6 +22,7 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<title>WebGPU CTS</title>
|
<title>WebGPU CTS</title>
|
||||||
<meta charset=utf-8>
|
<meta charset=utf-8>
|
||||||
|
<meta name="timeout" content="long">
|
||||||
<link rel=help href='https://gpuweb.github.io/gpuweb/'>
|
<link rel=help href='https://gpuweb.github.io/gpuweb/'>
|
||||||
|
|
||||||
<script src=/resources/testharness.js></script>
|
<script src=/resources/testharness.js></script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue