aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-16 20:41:50 +0900
committernsfisis <nsfisis@gmail.com>2024-03-16 20:41:50 +0900
commit3d2d891d7e1492d179cd8da7a618fbdd5efcca2c (patch)
tree45367f35d98af1125a2197b3bc3dbc35700128d7 /tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json
parent9b45796547c8022b98a9254320323d72aecd81cb (diff)
downloadphp-waddiwasi-3d2d891d7e1492d179cd8da7a618fbdd5efcca2c.tar.gz
php-waddiwasi-3d2d891d7e1492d179cd8da7a618fbdd5efcca2c.tar.zst
php-waddiwasi-3d2d891d7e1492d179cd8da7a618fbdd5efcca2c.zip
feat: add spec testsuites
Diffstat (limited to 'tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json')
-rw-r--r--tests/fixtures/spec_testsuites/core/skip-stack-guard-page.json13
1 files changed, 13 insertions, 0 deletions
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": []}]}