Home

Errors: 53

Warnings: 0

Successes: 57


global.wast

{"type":"module","line":3,"filename":"global.0.wasm"}

loaded

{"type":"assert_return","line":196,"action":{"type":"invoke","field":"get-a"},"expected":[{"type":"i32","value":"4294967294"}]}
(assert_return (invoke "get-a") (i32.const -2))

ok, result

{"type":"assert_return","line":197,"action":{"type":"invoke","field":"get-b"},"expected":[{"type":"i64","value":"18446744073709551611"}]}
(assert_return (invoke "get-b") (i64.const -5))

ok, result

{"type":"assert_return","line":198,"action":{"type":"invoke","field":"get-r"},"expected":[{"type":"externref","value":"null"}]}
(assert_return (invoke "get-r") (ref.null extern))

ok, result

{"type":"assert_return","line":199,"action":{"type":"invoke","field":"get-mr"},"expected":[{"type":"externref","value":"null"}]}
(assert_return (invoke "get-mr") (ref.null extern))

ok, result

{"type":"assert_return","line":200,"action":{"type":"invoke","field":"get-x"},"expected":[{"type":"i32","value":"4294967284"}]}
(assert_return (invoke "get-x") (i32.const -12))

ok, result

{"type":"assert_return","line":201,"action":{"type":"invoke","field":"get-y"},"expected":[{"type":"i64","value":"18446744073709551601"}]}
(assert_return (invoke "get-y") (i64.const -15))

ok, result

{"type":"assert_return","line":202,"action":{"type":"invoke","field":"get-z1"},"expected":[{"type":"i32","value":"666"}]}
(assert_return (invoke "get-z1") (i32.const 666))

error, wrong result, expected 666, got 0

{"type":"assert_return","line":203,"action":{"type":"invoke","field":"get-z2"},"expected":[{"type":"i64","value":"666"}]}
(assert_return (invoke "get-z2") (i64.const 666))

error, wrong result, expected 666, got 0

{"type":"assert_return","line":205,"action":{"type":"invoke","field":"get-3"},"expected":[{"type":"f32","value":"3225419776"}]}
(assert_return (invoke "get-3") (f32.const -3))

ok, result

{"type":"assert_return","line":206,"action":{"type":"invoke","field":"get-4"},"expected":[{"type":"f64","value":"13839561654909534208"}]}
(assert_return (invoke "get-4") (f64.const -4))

error, wrong result, expected 13839561654909534208, got 4288

{"type":"assert_return","line":207,"action":{"type":"invoke","field":"get-7"},"expected":[{"type":"f32","value":"3243245568"}]}
(assert_return (invoke "get-7") (f32.const -13))

ok, result

{"type":"assert_return","line":208,"action":{"type":"invoke","field":"get-8"},"expected":[{"type":"f64","value":"13847442954257432576"}]}
(assert_return (invoke "get-8") (f64.const -14))

error, wrong result, expected 13847442954257432576, got 11456

{"type":"assert_return","line":210,"action":{"type":"invoke","field":"set-x","args":[{"type":"i32","value":"6"}]}}
(assert_return (invoke "set-x" (i32.const 6)))

ok, result

{"type":"assert_return","line":211,"action":{"type":"invoke","field":"set-y","args":[{"type":"i64","value":"7"}]}}
(assert_return (invoke "set-y" (i64.const 7)))

ok, result

{"type":"assert_return","line":213,"action":{"type":"invoke","field":"set-7","args":[{"type":"f32","value":"1090519040"}]}}
(assert_return (invoke "set-7" (f32.const 8)))

ok, result

{"type":"assert_return","line":214,"action":{"type":"invoke","field":"set-8","args":[{"type":"f64","value":"4621256167635550208"}]}}
(assert_return (invoke "set-8" (f64.const 9)))

exception: i64, from_unsigned, value too long, todo, "4621256167635550208"

{"type":"assert_return","line":216,"action":{"type":"invoke","field":"get-x"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "get-x") (i32.const 6))

ok, result

{"type":"assert_return","line":217,"action":{"type":"invoke","field":"get-y"},"expected":[{"type":"i64","value":"7"}]}
(assert_return (invoke "get-y") (i64.const 7))

ok, result

{"type":"assert_return","line":218,"action":{"type":"invoke","field":"get-7"},"expected":[{"type":"f32","value":"1090519040"}]}
(assert_return (invoke "get-7") (f32.const 8))

ok, result

{"type":"assert_return","line":219,"action":{"type":"invoke","field":"get-8"},"expected":[{"type":"f64","value":"4621256167635550208"}]}
(assert_return (invoke "get-8") (f64.const 9))

error, wrong result, expected 4621256167635550208, got 11456

{"type":"assert_return","line":221,"action":{"type":"invoke","field":"set-7","args":[{"type":"f32","value":"1090519040"}]}}
(assert_return (invoke "set-7" (f32.const 8)))

ok, result

{"type":"assert_return","line":222,"action":{"type":"invoke","field":"set-8","args":[{"type":"f64","value":"4621256167635550208"}]}}
(assert_return (invoke "set-8" (f64.const 9)))

exception: i64, from_unsigned, value too long, todo, "4621256167635550208"

{"type":"assert_return","line":223,"action":{"type":"invoke","field":"set-mr","args":[{"type":"externref","value":"10"}]}}
(assert_return (invoke "set-mr" (ref.extern 10)))

ok, result

{"type":"assert_return","line":225,"action":{"type":"invoke","field":"get-x"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "get-x") (i32.const 6))

ok, result

{"type":"assert_return","line":226,"action":{"type":"invoke","field":"get-y"},"expected":[{"type":"i64","value":"7"}]}
(assert_return (invoke "get-y") (i64.const 7))

ok, result

{"type":"assert_return","line":227,"action":{"type":"invoke","field":"get-7"},"expected":[{"type":"f32","value":"1090519040"}]}
(assert_return (invoke "get-7") (f32.const 8))

ok, result

{"type":"assert_return","line":228,"action":{"type":"invoke","field":"get-8"},"expected":[{"type":"f64","value":"4621256167635550208"}]}
(assert_return (invoke "get-8") (f64.const 9))

error, wrong result, expected 4621256167635550208, got 11456

{"type":"assert_return","line":229,"action":{"type":"invoke","field":"get-mr"},"expected":[{"type":"externref","value":"10"}]}
(assert_return (invoke "get-mr") (ref.extern 10))

ok, result

{"type":"assert_return","line":231,"action":{"type":"invoke","field":"as-select-first"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-select-first") (i32.const 6))

ok, result

{"type":"assert_return","line":232,"action":{"type":"invoke","field":"as-select-mid"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-select-mid") (i32.const 2))

ok, result

{"type":"assert_return","line":233,"action":{"type":"invoke","field":"as-select-last"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-select-last") (i32.const 2))

ok, result

{"type":"assert_return","line":235,"action":{"type":"invoke","field":"as-loop-first"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-loop-first") (i32.const 6))

ok, result

{"type":"assert_return","line":236,"action":{"type":"invoke","field":"as-loop-mid"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-loop-mid") (i32.const 6))

ok, result

{"type":"assert_return","line":237,"action":{"type":"invoke","field":"as-loop-last"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-loop-last") (i32.const 6))

ok, result

{"type":"assert_return","line":239,"action":{"type":"invoke","field":"as-if-condition"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-if-condition") (i32.const 2))

ok, result

{"type":"assert_return","line":240,"action":{"type":"invoke","field":"as-if-then"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-if-then") (i32.const 6))

ok, result

{"type":"assert_return","line":241,"action":{"type":"invoke","field":"as-if-else"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-if-else") (i32.const 6))

ok, result

{"type":"assert_return","line":243,"action":{"type":"invoke","field":"as-br_if-first"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-br_if-first") (i32.const 6))

ok, result

{"type":"assert_return","line":244,"action":{"type":"invoke","field":"as-br_if-last"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_if-last") (i32.const 2))

ok, result

{"type":"assert_return","line":246,"action":{"type":"invoke","field":"as-br_table-first"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-br_table-first") (i32.const 6))

ok, result

{"type":"assert_return","line":247,"action":{"type":"invoke","field":"as-br_table-last"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-br_table-last") (i32.const 2))

ok, result

{"type":"assert_return","line":249,"action":{"type":"invoke","field":"as-call_indirect-first"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-call_indirect-first") (i32.const 6))

ok, result

{"type":"assert_return","line":250,"action":{"type":"invoke","field":"as-call_indirect-mid"},"expected":[{"type":"i32","value":"2"}]}
(assert_return (invoke "as-call_indirect-mid") (i32.const 2))

ok, result

{"type":"assert_trap","line":251,"text":"undefined element","action":{"type":"invoke","field":"as-call_indirect-last"},"expected":[{"type":"i32"}]}
(assert_trap (invoke "as-call_indirect-last") "undefined element")

ok, got error: zcl_wasm_memory: table_get, out of bounds

{"type":"assert_return","line":253,"action":{"type":"invoke","field":"as-store-first"}}
(assert_return (invoke "as-store-first"))

ok, result

{"type":"assert_return","line":254,"action":{"type":"invoke","field":"as-store-last"}}
(assert_return (invoke "as-store-last"))

ok, result

{"type":"assert_return","line":255,"action":{"type":"invoke","field":"as-load-operand"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-load-operand") (i32.const 1))

ok, result

{"type":"assert_return","line":256,"action":{"type":"invoke","field":"as-memory.grow-value"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-memory.grow-value") (i32.const 1))

ok, result, 14ms

{"type":"assert_return","line":258,"action":{"type":"invoke","field":"as-call-value"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-call-value") (i32.const 6))

ok, result

{"type":"assert_return","line":260,"action":{"type":"invoke","field":"as-return-value"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-return-value") (i32.const 6))

ok, result

{"type":"assert_return","line":261,"action":{"type":"invoke","field":"as-drop-operand"}}
(assert_return (invoke "as-drop-operand"))

ok, result

{"type":"assert_return","line":262,"action":{"type":"invoke","field":"as-br-value"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-br-value") (i32.const 6))

ok, result

{"type":"assert_return","line":264,"action":{"type":"invoke","field":"as-local.set-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-local.set-value" (i32.const 1)) (i32.const 6))

ok, result

{"type":"assert_return","line":265,"action":{"type":"invoke","field":"as-local.tee-value","args":[{"type":"i32","value":"1"}]},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-local.tee-value" (i32.const 1)) (i32.const 6))

ok, result

{"type":"assert_return","line":266,"action":{"type":"invoke","field":"as-global.set-value"},"expected":[{"type":"i32","value":"6"}]}
(assert_return (invoke "as-global.set-value") (i32.const 6))

ok, result

{"type":"assert_return","line":268,"action":{"type":"invoke","field":"as-unary-operand"},"expected":[{"type":"i32","value":"0"}]}
(assert_return (invoke "as-unary-operand") (i32.const 0))

ok, result

{"type":"assert_return","line":269,"action":{"type":"invoke","field":"as-binary-operand"},"expected":[{"type":"i32","value":"36"}]}
(assert_return (invoke "as-binary-operand") (i32.const 36))

ok, result

{"type":"assert_return","line":270,"action":{"type":"invoke","field":"as-compare-operand"},"expected":[{"type":"i32","value":"1"}]}
(assert_return (invoke "as-compare-operand") (i32.const 1))

error, wrong result, expected 1, got 0

{"type":"assert_invalid","line":273,"filename":"global.1.wasm","text":"global is immutable"}

expected error

{"type":"assert_invalid","line":278,"filename":"global.2.wasm","text":"global is immutable"}

expected error

{"type":"module","line":283,"filename":"global.3.wasm"}

loaded

{"type":"module","line":284,"filename":"global.4.wasm"}

loaded

{"type":"assert_invalid","line":287,"filename":"global.5.wasm","text":"constant expression required"}

expected error

{"type":"assert_invalid","line":292,"filename":"global.6.wasm","text":"constant expression required"}

expected error

{"type":"assert_invalid","line":297,"filename":"global.7.wasm","text":"constant expression required"}

expected error

{"type":"assert_invalid","line":302,"filename":"global.8.wasm","text":"constant expression required"}

expected error

{"type":"assert_invalid","line":307,"filename":"global.9.wasm","text":"constant expression required"}

expected error

{"type":"assert_invalid","line":312,"filename":"global.10.wasm","text":"constant expression required"}

expected error

{"type":"assert_invalid","line":317,"filename":"global.11.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":322,"filename":"global.12.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":327,"filename":"global.13.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":332,"filename":"global.14.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":337,"filename":"global.15.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":342,"filename":"global.16.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":347,"filename":"global.17.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":352,"filename":"global.18.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":356,"filename":"global.19.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":361,"filename":"global.20.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":366,"filename":"global.21.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":371,"filename":"global.22.wasm","text":"constant expression required"}

expected error

{"type":"module","line":375,"filename":"global.23.wasm"}

loaded

{"type":"assert_malformed","line":379,"filename":"global.24.wasm","text":"malformed mutability"}

expected error

{"type":"assert_malformed","line":392,"filename":"global.25.wasm","text":"malformed mutability"}

expected error

{"type":"module","line":405,"filename":"global.26.wasm"}

loaded

{"type":"assert_malformed","line":409,"filename":"global.27.wasm","text":"malformed mutability"}

expected error

{"type":"assert_malformed","line":421,"filename":"global.28.wasm","text":"malformed mutability"}

expected error

{"type":"assert_invalid","line":435,"filename":"global.29.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":440,"filename":"global.30.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":448,"filename":"global.31.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":456,"filename":"global.32.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":466,"filename":"global.33.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":471,"filename":"global.34.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":479,"filename":"global.35.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":487,"filename":"global.36.wasm","text":"unknown global"}

expected error

{"type":"assert_invalid","line":497,"filename":"global.37.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":506,"filename":"global.38.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":516,"filename":"global.39.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":526,"filename":"global.40.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":536,"filename":"global.41.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":546,"filename":"global.42.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":556,"filename":"global.43.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":566,"filename":"global.44.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":576,"filename":"global.45.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":585,"filename":"global.46.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":594,"filename":"global.47.wasm","text":"type mismatch"}

expected error

{"type":"assert_invalid","line":604,"filename":"global.48.wasm","text":"type mismatch"}

expected error

{"type":"assert_malformed","line":622,"filename":"global.49.wat","text":"duplicate global"}

got error: unexpected magic number

{"type":"assert_malformed","line":626,"filename":"global.50.wat","text":"duplicate global"}

got error: unexpected magic number

{"type":"assert_malformed","line":630,"filename":"global.51.wat","text":"duplicate global"}

got error: unexpected magic number

Generated at 2024-09-05T14:38:15