kc3-lang/kc3/test

Branch :


Log

Author Commit Date CI Message
thodg ddb3e80a 2025-07-22 17:24:27 portable endian.h
thodg 509b3b52 2025-07-22 03:30:07 remove failing checks for asan targets
thodg 37b05be9 2025-07-22 06:07:54 ws: 72 columns
thodg 6318b603 2025-07-22 05:26:14 ws: 72 columns
thodg 7ad003df 2025-07-24 18:39:37 fix marshall_str
thodg 6479e374 2025-07-24 17:16:50 tests for marshall_s8/16/32/64/w
Lyzer 9de46efb 2025-07-24 17:16:34 fix: expected strings in marshall_test.c
Lyzer cf27722e 2025-07-24 15:19:40 wip: resurected marshall_read_plist test
thodg 7babf59e 2025-07-24 14:29:21 typo
thodg 80739ad9 2025-07-24 14:27:47 buf.c: fix buf_ignore on non utf-8 bytes
014a50d3 2025-07-24 13:24:17 wip: marshall_test refactor
thodg e34005a0 2025-07-24 13:00:23 fix buf_inspect_str_reserved and _size
057edffc 2025-07-24 10:45:58 wip: patched displayed marshall unit test errors
Lyzer 21305312 2025-07-23 17:40:36 bug: inspect str xFF
thodg 5b1b59e4 2025-07-23 17:21:34 fix marshall_test
Lyzer f087f4de 2025-07-23 17:08:37 WIP: change TEST_STR_EQ variables for no conflicts
bf6c6ddc 2025-07-23 16:04:05 feat: added STR_1 macro to easily make raw strings
thodg 76c7ae59 2025-07-23 15:44:43 update tests to run marshall_read tests
Lyzer a0434fc1 2025-07-23 15:37:00 wip: marshall_read_test
dc7d76a9 2025-07-23 13:23:44 fix: typo
Lyzer 58b8ab0d 2025-07-23 13:18:37 fix: marshall_init -> marshall_read_init; wip: replace duplicated macros There's now a macro to test any type instead of a thousand useless defines
Lyzer b58e17e4 2025-07-23 12:00:54 WIP: marco for stack and heap
e77343fb 2025-07-22 18:03:58 wip: NULL marshalling in marshall_heap_pointer
Lyzer dd1645b7 2025-07-22 13:51:25 WIP: macro for test on buf and heap
Lyzer d4ded9e1 2025-07-22 11:19:21 WIP: marshall_read tests
e8367141 2025-07-21 18:18:26 fix: memory leaks for marshall
Lyzer 60eb1f01 2025-07-21 17:14:50 WIP: reorganize test case
thodg 6ab705bf 2025-07-21 16:12:46 update sources
thodg b2d7c095 2025-07-21 16:11:59 fix doc controller
3c8a8ce8 2025-07-21 15:02:59 feat: unit test for marshall_plist
92e1ee09 2025-07-21 14:45:16 feat: marshall_plist implementation
Lyzer 3156765f 2025-07-18 17:48:36 test: marshall_tag_bool_and_heap
thodg f2b589f0 2025-07-18 17:02:12 marshall test
Lyzer bd3973e6 2025-07-18 16:54:29 test: marshall_tag_bool
Lyzer cd0dd0d4 2025-07-18 15:45:41 test: marshall_tag
221b29c0 2025-07-18 12:10:34 wip: marshall_plist calls /!\ Segfault because of invalid s_tag providen in marshall_test
1198a6ef 2025-07-17 16:09:59 feat: marshall_read_p*
thodg 4fd55a96 2025-07-15 21:18:07 feat: add comprehensive marshall test coverage for bool and character types - Add MARSHALL_TEST_BUF_BOOL and MARSHALL_TEST_HEAP_BOOL for boolean testing - Add specialized MARSHALL_TEST_CHARACTER macro for UTF-8 encoded character testing - Add MARSHALL_TEST_BUF_CHARACTER and MARSHALL_TEST_HEAP_CHARACTER macros - Fix character test size comparison (uses sizeof(expected) vs sizeof(character)) - Test coverage now includes all basic types: bool, character, s8-s64, sw, u8-u64, uw - All tests support both buffer (heap=false) and heap (heap=true) marshalling modes - Total test count increased from 221 to 223 tests (100% passing)
thodg 3c62a3da 2025-07-15 20:47:16 wip marshall_test and marshall_init
thodg 5669dfe0 2025-07-15 20:33:09 feat: add MARSHALL_TEST_HEAP_* macros and tests - Add MARSHALL_TEST_HEAP_* macros for testing heap marshalling (heap = true) - Add heap test calls alongside existing buffer tests in all test cases - Provides comprehensive testing of both buffer and heap marshalling modes
784610ec 2025-07-17 11:20:07 fix: unused useless code
d9ff9e2d 2025-07-17 10:47:22 feat(marshall_test): marshall_list test
thodg c2fb36ca 2025-07-15 20:19:01 fix: marshall function parameter mismatches - Add missing heap parameter to marshall_tag call in kc3.c:718 - Add missing heap parameter to marshall_uw call in marshall.c:278 - Add missing heap parameter to marshall_tag call in marshall.c:282 - Fix marshall_heap_pointer function signature to match header declaration - Fix marshall_list parameter to be const s_list * to match header - Update test macros to include heap parameter and rename to MARSHALL_TEST_BUF_* - Fix direct marshall_u32 calls in test functions to include heap parameter
thodg b0f77d65 2025-07-15 15:07:21 update sources
thodg 5d9703df 2025-07-13 17:27:49 MARSHALL_MAGIC
thodg 9cb77187 2025-07-13 16:16:11 TEST_STR_EQ
thodg c313631d 2025-07-13 15:03:35 cleanup all marshall and marshall_read files
94675057 2025-07-11 17:16:29 feat: marshalling save to file and read from file See marshalling.h comments for more details
Lyzer 5c4e252c 2025-07-11 14:11:29 fix: marshall init test
7f3cd5de 2025-07-10 17:42:47 feat: marshall character utf8
thodg 0ce9dee2 2025-07-10 17:14:28 wip
thodg bb3dd14a 2025-07-10 16:10:57 refactor serialize -> marshall
a7469a29 2025-07-10 11:07:57 feat: marshall to buf (incorrect)
7615a080 2025-07-09 17:17:44 feat: marshall serialize (un)signed(8/16/32/64/w) unit tests
Lyzer d8f7e1e5 2025-07-09 16:35:14 test: marshall test generic macro
1d295b09 2025-07-08 19:00:08 feat: serialize_u32 unit test
5bb5257f 2025-07-08 14:51:18 feat: marshall_test
thodg 4a4b5b6d 2025-07-21 15:33:59 fix last bugs
thodg 6160bff2 2025-07-21 13:03:11 tests pass: refactor p_*
thodg 5aca5640 2025-07-21 03:28:39 refactor p_*
thodg 944c07d2 2025-07-21 02:28:03 wip p_*
thodg d05d821d 2025-07-20 23:55:00 split env_eval_equal.c env_eval_quote.c
thodg 05a5dca9 2025-07-20 22:20:38 add test for while unwind protect
thodg 09649368 2025-07-20 22:20:28 fix json test
thodg 7158549a 2025-07-20 17:11:55 wip tests, test_asan
thodg 4826d948 2025-07-20 15:35:38 fix json and add tests for ikc3/while
thodg 9c28e6c7 2025-07-20 15:06:15 fix test_ekc3
thodg fb7ae9ad 2025-07-20 14:41:49 split buf_parse_ident_cast and fix '(Ident) Module.sym' parsing and special operator resolution
thodg baab45a7 2025-07-19 19:45:46 make ikc3 tests pass again, add % operator
thodg 94d38022 2025-07-19 15:14:26 wip
thodg 3f0fecd3 2025-07-19 11:02:24 fix while test (while argument needs parens)
thodg 4ed6b582 2025-07-19 10:31:48 while tests
thodg 326cb5df 2025-07-18 21:41:16 wip
thodg 1da3e3f5 2025-07-18 19:49:13 Add comprehensive while loop test for KC3 - Test basic while loop with false condition (no execution) - Test counter loop with puts output and variable mutation - Test sum calculation loop demonstrating accumulation - Test while loop with break statement and conditional exit - Test list building with while loop using cons operator - Follow existing ikc3 test patterns with quote/execute structure
thodg b73bb339 2025-07-17 11:20:38 wip no autoload
thodg 35420107 2025-07-17 07:51:33 remove module autoloading at struct init
thodg 6da4c4d7 2025-07-15 23:42:41 fix: tag_init_copy PVAR handling and missing include - Follow bound PVAR to actual tag in tag_init_copy - Add missing sym.h include in bool_test.c
thodg 7ea3e617 2025-07-15 23:27:35 fix: bool casting for structured types - Add bool_init_cast_pstruct test case - Fix TAG_UNQUOTE case missing assignment (broken in 9a99c242)
thodg 59aefc9e 2025-07-15 19:04:37 test httpd
thodg d5a23dfa 2025-07-15 12:34:55 fix unwind protect
thodg f16a35ef 2025-07-14 23:50:16 wip memleaks
thodg e76bb102 2025-07-14 23:39:50 fix memleak facts_with_test_tags
thodg 81f55c93 2025-07-14 23:38:14 fix memleak in facts_with_test
thodg 8d4a1d81 2025-07-14 23:34:39 fix memleak inspect_test_pvar
thodg 0c15e711 2025-07-14 23:33:25 fix memleaks facts_with_test
thodg 9476bf09 2025-07-14 23:28:21 fix segv in buf_parse_test_pvar
thodg d917c317 2025-07-14 23:24:11 wip memleak buf_parse_test_pvar
thodg 62fc1263 2025-07-14 18:32:31 fix fn test
thodg cfe8bb54 2025-07-14 18:21:41 wip pvar
thodg 0a4deeef 2025-07-14 18:06:29 wip pvar
thodg 08729c30 2025-07-14 17:09:37 wip pvar
thodg 9a99c242 2025-07-14 00:42:16 wip pvar
thodg 149669c1 2025-07-04 23:45:20 wip frame
thodg 40ec6913 2025-06-16 15:40:32 debug test httpd
thodg a0bd57e1 2025-05-31 00:34:50 run tests from wrapper program
thodg 71efafdf 2025-05-31 00:26:20 fix buf_fd_open_w_flush
thodg 2d49b2b1 2025-05-29 14:39:02 wip win64 sockets
thodg de4c4bd2 2025-05-27 13:20:18 wip sockets on win64
thodg 480367fc 2025-05-26 23:01:50 remove comment
thodg fdb4efbc 2025-05-26 15:41:25 fix make test on win64