Skip to content

Commit be8431a

Browse files
committed
add more -Wno-error=deprecated
1 parent f5eb7bc commit be8431a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/test_browser.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4503,23 +4503,23 @@ def test_webgl_simple_extensions(self, webgl_version, simple_enable_extensions):
45034503
})
45044504
@requires_webgpu
45054505
def test_webgpu_basic_rendering(self, args):
4506-
self.btest_exit('webgpu_basic_rendering.cpp', emcc_args=['-sUSE_WEBGPU'] + args)
4506+
self.btest_exit('webgpu_basic_rendering.cpp', emcc_args=['-Wno-error=deprecated', '-sUSE_WEBGPU'] + args)
45074507

45084508
@requires_webgpu
45094509
def test_webgpu_required_limits(self):
4510-
self.btest_exit('webgpu_required_limits.c', emcc_args=['-sUSE_WEBGPU', '-sASYNCIFY'])
4510+
self.btest_exit('webgpu_required_limits.c', emcc_args=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-sASYNCIFY'])
45114511

45124512
# TODO(#19645): Extend this test to proxied WebGPU when it's re-enabled.
45134513
@requires_webgpu
45144514
def test_webgpu_basic_rendering_pthreads(self):
4515-
self.btest_exit('webgpu_basic_rendering.cpp', emcc_args=['-sUSE_WEBGPU', '-pthread', '-sOFFSCREENCANVAS_SUPPORT'])
4515+
self.btest_exit('webgpu_basic_rendering.cpp', emcc_args=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-pthread', '-sOFFSCREENCANVAS_SUPPORT'])
45164516

45174517
def test_webgpu_get_device(self):
4518-
self.btest_exit('webgpu_get_device.cpp', emcc_args=['-sUSE_WEBGPU', '-sASSERTIONS', '--closure=1'])
4518+
self.btest_exit('webgpu_get_device.cpp', emcc_args=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-sASSERTIONS', '--closure=1'])
45194519

45204520
# TODO(#19645): Extend this test to proxied WebGPU when it's re-enabled.
45214521
def test_webgpu_get_device_pthreads(self):
4522-
self.btest_exit('webgpu_get_device.cpp', emcc_args=['-sUSE_WEBGPU', '-pthread'])
4522+
self.btest_exit('webgpu_get_device.cpp', emcc_args=['-Wno-error=deprecated', '-sUSE_WEBGPU', '-pthread'])
45234523

45244524
# Tests the feature that shell html page can preallocate the typed array and place it
45254525
# to Module.buffer before loading the script page.

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12972,7 +12972,7 @@ def test_standalone_syscalls(self):
1297212972
'dylink': (['-sMAIN_MODULE'],),
1297312973
})
1297412974
def test_webgpu_compiletest(self, args):
12975-
self.run_process([EMXX, test_file('webgpu_jsvalstore.cpp'), '-sUSE_WEBGPU', '-sASYNCIFY'] + args)
12975+
self.run_process([EMXX, test_file('webgpu_jsvalstore.cpp'), '-Wno-error=deprecated', '-sUSE_WEBGPU', '-sASYNCIFY'] + args)
1297612976

1297712977
def test_signature_mismatch(self):
1297812978
create_file('a.c', 'void foo(); int main() { foo(); return 0; }')

0 commit comments

Comments
 (0)