@@ -2702,6 +2702,7 @@ def test_webgl2_objects(self):
2702
2702
self .btest_exit ('webgl2_objects.c' , cflags = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
2703
2703
2704
2704
@requires_webgl2
2705
+ @requires_offscreen_canvas
2705
2706
@parameterized ({
2706
2707
'' : ([],),
2707
2708
'offscreencanvas' : (['-sOFFSCREENCANVAS_SUPPORT' , '-pthread' , '-sPROXY_TO_PTHREAD' ],),
@@ -4464,9 +4465,11 @@ def test_webgpu_required_limits(self):
4464
4465
def test_webgpu_basic_rendering_pthreads (self ):
4465
4466
self .btest_exit ('webgpu_basic_rendering.cpp' , cflags = ['-Wno-error=deprecated' , '-sUSE_WEBGPU' , '-pthread' , '-sOFFSCREENCANVAS_SUPPORT' ])
4466
4467
4468
+ @requires_webgpu
4467
4469
def test_webgpu_get_device (self ):
4468
4470
self .btest_exit ('webgpu_get_device.cpp' , cflags = ['-Wno-error=deprecated' , '-sUSE_WEBGPU' , '-sASSERTIONS' , '--closure=1' ])
4469
4471
4472
+ @requires_webgpu
4470
4473
def test_webgpu_get_device_pthreads (self ):
4471
4474
self .btest_exit ('webgpu_get_device.cpp' , cflags = ['-Wno-error=deprecated' , '-sUSE_WEBGPU' , '-pthread' ])
4472
4475
@@ -5516,7 +5519,7 @@ def test_audio_worklet_emscripten_locks(self):
5516
5519
@requires_sound_hardware
5517
5520
@also_with_minimal_runtime
5518
5521
def test_web_audio_context_sample_rate (self ):
5519
- self .btest_exit ('webaudio/audio_context_sample_rate.c' , cflags = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS ' ])
5522
+ self .btest_exit ('webaudio/audio_context_sample_rate.c' , cflags = ['-lwebaudio.js ' ])
5520
5523
5521
5524
def test_error_reporting (self ):
5522
5525
# Test catching/reporting Error objects
0 commit comments