Skip to content

Fix test_js_base64_api test. NFC#26378

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:test_js_base64_api
Mar 2, 2026
Merged

Fix test_js_base64_api test. NFC#26378
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:test_js_base64_api

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Mar 2, 2026

In order to measure a difference with the native base64 API we need to disable the new -sSINGLE_FILE_BINARY_ENCODE setting.

In order to measure a difference with the native base64 API we need to
disable the new `-sSINGLE_FILE_BINARY_ENCODE` setting.
@sbc100 sbc100 requested review from dschuff, juj and kripken March 2, 2026 17:22
@sbc100 sbc100 enabled auto-merge (squash) March 2, 2026 19:17
Comment thread test/test_other.py
self.node_args += ['--js_base_64']
self.do_runf('hello_world.c', 'hello, world!', cflags=['-sSINGLE_FILE'], output_basename='baseline')
self.do_runf('hello_world.c', 'hello, world!', cflags=['-sSINGLE_FILE', '-sJS_BASE64_API', '-Wno-experimental'])
# JS_BASE64_API on has an effect when base64 is being used so we need to
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# JS_BASE64_API on has an effect when base64 is being used so we need to
# JS_BASE64_API only has an effect when base64 is being used so we need to

@sbc100 sbc100 merged commit cf37b0e into emscripten-core:main Mar 2, 2026
36 checks passed
@sbc100 sbc100 deleted the test_js_base64_api branch March 2, 2026 19:25
sbc100 added a commit that referenced this pull request Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants