Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos in *.wast tests #217

Open
wants to merge 1 commit into
base: upstream-rebuild
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/core/threads/LB.wast
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand All @@ -53,7 +53,7 @@
;; allowed results: (L_0 = 0 || L_0 = 1) && (L_1 = 0 || L_1 = 1)

(i32.or (i32.eq (local.get 0) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0)))
(i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0)))
(i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 1) (i32.const 0)))
(i32.and)
(return)
)
Expand Down
2 changes: 1 addition & 1 deletion test/core/threads/LB_atomic.wast
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand Down
4 changes: 2 additions & 2 deletions test/core/threads/MP.wast
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand All @@ -50,7 +50,7 @@
;; allowed results: (L_0 = 0 || L_0 = 1) && (L_1 = 0 || L_1 = 42)

(i32.or (i32.eq (local.get 0) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0)))
(i32.or (i32.eq (local.get 1) (i32.const 42)) (i32.eq (local.get 0) (i32.const 0)))
(i32.or (i32.eq (local.get 1) (i32.const 42)) (i32.eq (local.get 1) (i32.const 0)))
(i32.and)
(return)
)
Expand Down
2 changes: 1 addition & 1 deletion test/core/threads/MP_atomic.wast
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand Down
2 changes: 1 addition & 1 deletion test/core/threads/MP_wait.wast
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand Down
4 changes: 2 additions & 2 deletions test/core/threads/SB.wast
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand All @@ -53,7 +53,7 @@
;; allowed results: (L_0 = 0 || L_0 = 1) && (L_1 = 0 || L_1 = 1)

(i32.or (i32.eq (local.get 0) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0)))
(i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0)))
(i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 1) (i32.const 0)))
(i32.and)
(return)
)
Expand Down
2 changes: 1 addition & 1 deletion test/core/threads/SB_atomic.wast
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(wait $T2)

(module $Check
(memory (import "mem" "shared") 1 1 shared)
(memory (import "Mem" "shared") 1 1 shared)

(func (export "check") (result i32)
(local i32 i32)
Expand Down