From 3d2d891d7e1492d179cd8da7a618fbdd5efcca2c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 16 Mar 2024 20:41:50 +0900 Subject: feat: add spec testsuites --- .../spec_testsuites/core/skip-stack-guard-page.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json (limited to 'tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json') diff --git a/tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json b/tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json new file mode 100644 index 0000000..4ed89f3 --- /dev/null +++ b/tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json @@ -0,0 +1,13 @@ +{"source_filename": "./skip-stack-guard-page.wast", + "commands": [ + {"type": "module", "line": 2, "filename": "skip-stack-guard-page.0.wasm"}, + {"type": "assert_exhaustion", "line": 2275, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "0"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2276, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "100"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2277, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "200"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2278, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "300"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2279, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "400"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2280, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "500"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2281, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "600"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2282, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "700"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2283, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "800"}]}, "text": "call stack exhausted", "expected": []}, + {"type": "assert_exhaustion", "line": 2284, "action": {"type": "invoke", "field": "test-guard-page-skip", "args": [{"type": "i32", "value": "900"}]}, "text": "call stack exhausted", "expected": []}]} -- cgit v1.2.3-70-g09d2