Skip to content

Commit

Permalink
[wasm64] Run all browser64 idbstore/idb_fs tests (#20607)
Browse files Browse the repository at this point in the history
Split out from #20516
  • Loading branch information
sbc100 authored Nov 3, 2023
1 parent e2e6243 commit c1475fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,6 @@ jobs:
title: "browser64"
test_targets: "
browser64.test_canvas_focus
browser64.test_idbstore
browser64.test_idbstore_sync_asyncify
browser64.test_idbstore_sync_jspi
browser64.test_anisotropic
Expand All @@ -794,6 +793,8 @@ jobs:
browser64.test_glgears*
browser64.test_glfw*
browser64.test_glew
browser64.test_idbstore*
browser64.test_fs_idbfs*
"
test-browser-firefox:
executor: bionic
Expand Down
4 changes: 4 additions & 0 deletions src/library_sigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,12 @@ sigs = {
emscripten_idb_clear__sig: 'vpp',
emscripten_idb_delete__sig: 'vppp',
emscripten_idb_exists__sig: 'vpppp',
emscripten_idb_free_blob__sig: 'vi',
emscripten_idb_load__sig: 'vppppp',
emscripten_idb_load_blob__sig: 'vpppp',
emscripten_idb_read_from_blob__sig: 'viiip',
emscripten_idb_store__sig: 'vpppip',
emscripten_idb_store_blob__sig: 'vpppip',
emscripten_is_webgl_context_lost__sig: 'ii',
emscripten_lazy_load_code__sig: 'v',
emscripten_lock_async_acquire__sig: 'vpppd',
Expand Down
6 changes: 4 additions & 2 deletions tools/maint/gen_sig_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ def ignore_symbol(s, cxx):
if s.startswith('gl') and any(s.endswith(x) for x in ('NV', 'EXT', 'WEBGL', 'ARB', 'ANGLE')):
return True
if s in ('__stack_base', '__memory_base', '__table_base', '__global_base', '__heap_base',
'__stack_pointer', '__stack_high', '__stack_low', '_load_secondary_module'):
'__stack_pointer', '__stack_high', '__stack_low', '_load_secondary_module',
'__asyncify_state', '__asyncify_data',
):
return True
if cxx and s in ('__asctime_r') or s.startswith('__cxa_find_matching_catch'):
return True
Expand Down Expand Up @@ -393,7 +395,7 @@ def main(args):
extract_sig_info(sig_info, {'LEGACY_GL_EMULATION': 1}, ['-DGLES'])
extract_sig_info(sig_info, {'USE_GLFW': 2, 'FULL_ES3': 1, 'MAX_WEBGL_VERSION': 2})
extract_sig_info(sig_info, {'STANDALONE_WASM': 1})
extract_sig_info(sig_info, {'MAIN_MODULE': 2, 'RELOCATABLE': 1, 'USE_WEBGPU': 1})
extract_sig_info(sig_info, {'MAIN_MODULE': 2, 'RELOCATABLE': 1, 'USE_WEBGPU': 1, 'ASYNCIFY': 1})

write_sig_library(args.output, sig_info)
if args.update:
Expand Down

0 comments on commit c1475fa

Please sign in to comment.