Skip to content

Commit

Permalink
add test output
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Aug 6, 2024
1 parent 9dc5a3c commit 7cb0afd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
38 changes: 21 additions & 17 deletions test/run-drun/ok/idl-limits.drun-run.ok
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
ingress Completed: Reply: 0x4449444c016c01b3c4b1f204680100010a00000000000000000101
debug.print: {MB = 0}
debug.print: {MB = 1}
debug.print: {MB = 2}
debug.print: {MB = 3}
debug.print: {MB = 4}
debug.print: {MB = 5}
debug.print: {MB = 6}
debug.print: {MB = 7}
debug.print: {MB = 8}
debug.print: {MB = 9}
debug.print: {MB = 10}
debug.print: {MB = 11}
debug.print: {MB = 12}
debug.print: {MB = 13}
debug.print: {MB = 14}
debug.print: {MB = 15}
ingress Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: IDL error: exceeded instruction limit
debug.print: {bytes = 12}
debug.print: {MB = 0; bytes = 12; instr_per_byte = 194; instrs = 2_331}
debug.print: {bytes = 1_048_620}
debug.print: {MB = 1; bytes = 1_048_620; instr_per_byte = 4; instrs = 4_999_931}
debug.print: {bytes = 2_097_228}
debug.print: {MB = 2; bytes = 2_097_228; instr_per_byte = 4; instrs = 9_997_739}
debug.print: {bytes = 3_145_836}
debug.print: {MB = 3; bytes = 3_145_836; instr_per_byte = 4; instrs = 14_995_547}
debug.print: {bytes = 4_194_444}
debug.print: {MB = 4; bytes = 4_194_444; instr_per_byte = 4; instrs = 19_993_147}
debug.print: {bytes = 5_243_052}
debug.print: {MB = 5; bytes = 5_243_052; instr_per_byte = 4; instrs = 24_990_747}
debug.print: {bytes = 6_291_660}
debug.print: {MB = 6; bytes = 6_291_660; instr_per_byte = 4; instrs = 29_988_555}
debug.print: {bytes = 7_340_268}
debug.print: {MB = 7; bytes = 7_340_268; instr_per_byte = 4; instrs = 34_986_155}
debug.print: {bytes = 8_388_877}
debug.print: {MB = 8; bytes = 8_388_877; instr_per_byte = 3; instrs = 27_397_890}
debug.print: {bytes = 9_437_485}
debug.print: {MB = 9; bytes = 9_437_485; instr_per_byte = 3; instrs = 30_822_434}
ingress Completed: Reply: 0x4449444c0000
2 changes: 1 addition & 1 deletion test/run-drun/ok/idl-limits.tc.ok
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ idl-limits.mo:10.8-10.9: warning [M0145], this pattern of type
Nat64
does not cover value
1 or 2 or _
idl-limits.mo:17.10-17.12: warning [M0145], this pattern of type
idl-limits.mo:20.10-20.12: warning [M0145], this pattern of type
?[Blob]
does not cover value
null

0 comments on commit 7cb0afd

Please sign in to comment.