aboutsummaryrefslogtreecommitdiff
path: root/tests/test.sh
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 16:07:57 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 16:07:57 +0330
commit26f40bc49707a9ff63bee959cf0cd957355e82ce (patch)
tree291aebfe761dcdbc15e957e0d422bf21d6b9b09a /tests/test.sh
parentmerge: seven self-hosted compiler fixes from conformance (diff)
parentmemdebug: obj_base finds the header from the buddy size classes, not a 64-wor... (diff)
merge: memdebug obj_base via size classes
Diffstat (limited to 'tests/test.sh')
-rwxr-xr-xtests/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 37fa71c..a4e58e8 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -188,6 +188,7 @@ ABC" "$l o3 lifts byte loads and stores"
chk "$($vm < tests/programs/strings.zc)" "hi! 3 3 104 i! 1 1 1 -42 42 -42 11 1 -9223372036854775808 0 1 3 10 1 1 1 W ab" "$l byte strings"
chk "$($vm < tests/programs/share.zc)" "1 2 1 4 1 1 1 1 42 1 1 1 6 0" "$l shared cons cells"
chk "$($vm < tests/programs/share_dbg.zc)" "7 1" "$l memdebug accepts a shared cell"
+ chk "$($vm < tests/programs/memdebug_interior.zc | md5sum)" "$(md5sum < tests/programs/memdebug_interior.expected)" "$l memdebug finds the block of a deep interior pointer"
chk "$($vm < tests/programs/global_transfer.zc)" "5 9" "$l an m or u owner stored in a global is transferred"
chk "$($vm < tests/programs/closure_result.zc)" "8 1.500000" "$l a closure with a declared result type"
chk "$($vm < examples/strings.zc)" "hello, zc