diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-07-11 13:44:18 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-07-27 13:59:32 +0200 |
commit | 1dbbb6a2561fcc8076f868baaa792ea589dde85b (patch) | |
tree | a48b7f597297fb958810990bb67df064c539b0b2 /tests/custom/03_stdlib | |
parent | 1623245c3ea7422d2b311036c4a784ab18895b92 (diff) |
main: enable signal dispatching in the standalone cli interpreter
Enable signal dispatching by default for standalone ucode programs.
Also adjust the `gc()` testcase output as the default number of
allocations with enabled signal dispatching changes slightly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/03_stdlib')
-rw-r--r-- | tests/custom/03_stdlib/60_gc | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/custom/03_stdlib/60_gc b/tests/custom/03_stdlib/60_gc index 44e5d9e..28c0d00 100644 --- a/tests/custom/03_stdlib/60_gc +++ b/tests/custom/03_stdlib/60_gc @@ -45,11 +45,11 @@ Returns an object count if the given operation is `count`. -- End -- -- Expect stdout -- -Count #1: 5 -Count #2: 6 -Count #3: 5 -Count #4: 6 -Count #5: 5 +Count #1: 6 +Count #2: 7 +Count #3: 6 +Count #4: 7 +Count #5: 6 -- End -- @@ -84,24 +84,24 @@ Testing enabling the automatic collector. -- End -- -- Expect stdout -- -Count #1: 6 -Count #2: 12 -Count #3: 12 -Count #4: 12 -Count #5: 12 -Count #6: 12 -Count #7: 12 -Count #8: 12 -Count #9: 12 -Count #10: 12 -Count #11: 12 -Count #12: 22 -Count #13: 32 -Count #14: 42 -Count #15: 52 -Count #16: 62 -Count #17: 72 -Count #18: 82 -Count #19: 92 -Count #20: 102 +Count #1: 7 +Count #2: 14 +Count #3: 14 +Count #4: 14 +Count #5: 14 +Count #6: 14 +Count #7: 14 +Count #8: 14 +Count #9: 14 +Count #10: 14 +Count #11: 14 +Count #12: 24 +Count #13: 34 +Count #14: 44 +Count #15: 54 +Count #16: 64 +Count #17: 74 +Count #18: 84 +Count #19: 94 +Count #20: 104 -- End -- |