Skip to content

Commit ac82bc4

Browse files
authored
[test] Add annotations to help run in Firefox 79. NFC (emscripten-core#25469)
1 parent 46e27cb commit ac82bc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_browser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2702,6 +2702,7 @@ def test_webgl2_objects(self):
27022702
self.btest_exit('webgl2_objects.c', cflags=['-sMAX_WEBGL_VERSION=2', '-lGL'])
27032703

27042704
@requires_webgl2
2705+
@requires_offscreen_canvas
27052706
@parameterized({
27062707
'': ([],),
27072708
'offscreencanvas': (['-sOFFSCREENCANVAS_SUPPORT', '-pthread', '-sPROXY_TO_PTHREAD'],),
@@ -4464,9 +4465,11 @@ def test_webgpu_required_limits(self):
44644465
def test_webgpu_basic_rendering_pthreads(self):
44654466
self.btest_exit('webgpu_basic_rendering.cpp', cflags=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-pthread', '-sOFFSCREENCANVAS_SUPPORT'])
44664467

4468+
@requires_webgpu
44674469
def test_webgpu_get_device(self):
44684470
self.btest_exit('webgpu_get_device.cpp', cflags=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-sASSERTIONS', '--closure=1'])
44694471

4472+
@requires_webgpu
44704473
def test_webgpu_get_device_pthreads(self):
44714474
self.btest_exit('webgpu_get_device.cpp', cflags=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-pthread'])
44724475

@@ -5516,7 +5519,7 @@ def test_audio_worklet_emscripten_locks(self):
55165519
@requires_sound_hardware
55175520
@also_with_minimal_runtime
55185521
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'])
55205523

55215524
def test_error_reporting(self):
55225525
# Test catching/reporting Error objects

0 commit comments

Comments
 (0)