Skip to content

Commit 9082bca

Browse files
committed
Rename thread_spawn to thread-spawn in wat tests
cf. WebAssembly#26 WebAssembly/wasi-libc#387
1 parent 7164d4b commit 9082bca

7 files changed

+7
-7
lines changed

test/testsuite/wasi_threads_exit_main_block.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
(module
88
(memory (export "memory") (import "foo" "bar") 1 1 shared)
9-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
9+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1010
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1111
(func (export "wasi_thread_start") (param i32 i32)
1212
;; infinite wait

test/testsuite/wasi_threads_exit_main_busy.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
(module
88
(memory (export "memory") (import "foo" "bar") 1 1 shared)
9-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
9+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1010
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1111
(func (export "wasi_thread_start") (param i32 i32)
1212
;; infinite loop

test/testsuite/wasi_threads_exit_main_wasi.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
(module
1111
(memory (export "memory") (import "foo" "bar") 1 1 shared)
12-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
12+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1313
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1414
(func $poll_oneoff (import "wasi_snapshot_preview1" "poll_oneoff") (param i32 i32 i32 i32) (result i32))
1515
(func (export "wasi_thread_start") (param i32 i32)

test/testsuite/wasi_threads_exit_nonmain_block.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
(module
88
(memory (export "memory") (import "foo" "bar") 1 1 shared)
9-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
9+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1010
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1111
(func (export "wasi_thread_start") (param i32 i32)
1212
;; wait 500ms to ensure the other thread block

test/testsuite/wasi_threads_exit_nonmain_busy.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
(module
88
(memory (export "memory") (import "foo" "bar") 1 1 shared)
9-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
9+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1010
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1111
(func (export "wasi_thread_start") (param i32 i32)
1212
;; wait 500ms to ensure the other thread to enter the busy loop

test/testsuite/wasi_threads_exit_nonmain_wasi.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
(module
1111
(memory (export "memory") (import "foo" "bar") 1 1 shared)
12-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
12+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1313
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1414
(func $poll_oneoff (import "wasi_snapshot_preview1" "poll_oneoff") (param i32 i32 i32 i32) (result i32))
1515
(func (export "wasi_thread_start") (param i32 i32)

test/testsuite/wasi_threads_spawn.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
(module
99
(memory (export "memory") (import "foo" "bar") 1 1 shared)
10-
(func $thread_spawn (import "wasi" "thread_spawn") (param i32) (result i32))
10+
(func $thread_spawn (import "wasi" "thread-spawn") (param i32) (result i32))
1111
(func $proc_exit (import "wasi_snapshot_preview1" "proc_exit") (param i32))
1212
(func (export "wasi_thread_start") (param $tid i32) (param $user_arg i32)
1313
;; store tid

0 commit comments

Comments
 (0)