Skip to content

Commit 9523fef

Browse files
committed
address nits
1 parent 1dd4a1c commit 9523fef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4467,7 +4467,7 @@ def test_webgpu_basic_rendering(self, args):
44674467
@requires_webgpu
44684468
def test_webgpu_required_limits(self):
44694469
self.set_setting('DEFAULT_TO_CXX') # emdawnwebgpu uses C++ internally
4470-
self.btest_exit('webgpu_required_limits.c', cflags=['--use-port=emdawnwebgpu', '-sEXIT_RUNTIME'])
4470+
self.btest_exit('webgpu_required_limits.c', cflags=['--use-port=emdawnwebgpu'])
44714471

44724472
# Tests the feature that shell html page can preallocate the typed array and place it
44734473
# 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
@@ -2588,7 +2588,7 @@ def test_contrib_ports(self):
25882588
def test_remote_ports(self):
25892589
self.emcc(test_file('hello_world.c'), ['--use-port=emdawnwebgpu'])
25902590

2591-
@crossplatform # Note this only tests on platforms where FROZEN_CACHE isn't set.
2591+
@crossplatform
25922592
def test_external_ports_simple(self):
25932593
if config.FROZEN_CACHE:
25942594
self.skipTest("test doesn't work with frozen cache")

test/webgpu_required_limits.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static void on_adapter_request_ended(WGPURequestAdapterStatus status,
8080
wgpuAdapterRelease(adapter);
8181
}
8282

83-
int main(void) {
83+
int main() {
8484
const WGPUInstance instance = wgpuCreateInstance(NULL);
8585

8686
wgpuInstanceRequestAdapter(instance, NULL, (WGPURequestAdapterCallbackInfo){

0 commit comments

Comments
 (0)