|
|
| Duration | 4.0 sec |
|---|---|
| Tests | 10 |
| Failures | 0 |
| Test case: | cbor_test |
|---|---|
| Outcome: | Passed |
| Duration: | 0.006 sec |
| Failed | None |
None
Using path /home/runner/work/comms-ccf/comms-ccf/comms-ccf/cbor.hpp Don't know how to test | void * | null | `7:22` `` | Don't know how to test | std::string_view | "" | `3:0` `` | Don't know how to test | std::string_view | "a" | `3:1` `61` | Don't know how to test | std::string_view | "IETF" | `3:4` `49455446` | Don't know how to test | std::span<int> | [] | `4:0` `` | Don't know how to test | std::span<int> | [1, 2, 3] | `4:3` `010203` | Don't know how to test | tuple<int, span<int>, span<int>> | [1, [2, 3], [4, 5]] | `4:3` `01820203820405` | Don't know how to test | std::span<int> | [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25] | `4:24` `190102030405060708090A0B0C0D0E 0F101112131415161718181819` |
| Test case: | rpc_demo |
|---|---|
| Outcome: | Passed |
| Duration: | 2.165 sec |
| Failed | None |
None
Using CPython 3.13.6 interpreter at: /nix/store/iyff8129iampdw13nlfqalzhxy8y1hi9-python3-3.13.6/bin/python3.13
Creating virtual environment at: /home/runner/work/comms-ccf/comms-ccf/python/.venv
Building comms-ccf @ file:///home/runner/work/comms-ccf/comms-ccf/python
Building cobs==1.2.2
Building intervaltree==3.1.0
Built intervaltree==3.1.0
Built comms-ccf @ file:///home/runner/work/comms-ccf/comms-ccf/python
Built cobs==1.2.2
Installed 14 packages in 5ms
TX: 0000: 0102 6606 80F3 33B0 E800 ____ ____ ____ ..f..ó3°è.
RX: 0000: 0102 6774 8487 6361 6464 6A72 6574 7572 ..gt..caddjretur
RX: 0010: 6E20 782B 7963 696E 7461 7863 696E 7461 n x+ycintaxcinta
RX: 0020: 7963 696E 7483 6568 656C 6C6F 6F67 7265 ycint.ehelloogre
RX: 0030: 6574 2074 6865 2077 6F72 6C64 6373 7472 et the worldcstr
RX: 0040: 836B 6C6F 675F 6465 6C61 7965 6468 7465 .klog_delayedhte
RX: 0050: 7374 206C 6F67 6341 6E79 836A 6C6F 675F st logcAny.jlog_
RX: 0060: 696E 7369 6465 6874 6573 7420 6C6F 6763 insidehtest logc
RX: 0070: 416E 7950 0DF6 DB00 ____ ____ ____ ____ AnyP.öÛ.
TX: 0000: 010A 6801 8202 0391 0FEE 2000 ____ ____ ..h......î .
RX: 0000: 0108 6901 05B4 62FF D400 ____ ____ ____ ..i..´bÿÔ.
TX: 0000: 0108 6A04 8023 7D0B 5500 ____ ____ ____ ..j..#}.U.
RX: 0000: 1901 2111 5465 7374 2031 2032 2E30 3030 ..!.Test 1 2.000
RX: 0010: 3030 3020 335E 1659 4C00 ____ ____ ____ 000 3^.YL.
RX: 0000: 0108 6B04 F7AD 4E26 0D00 ____ ____ ____ ..k.÷.N&..
TX: 0000: 0108 6C03 809A 7A4A 9500 ____ ____ ____ ..l...zJ..
RX: 0000: 0108 6D03 F708 A660 3300 ____ ____ ____ ..m.÷.¦`3.
RX: 0000: 1901 2011 5465 7374 2031 2032 2E30 3030 .. .Test 1 2.000
RX: 0010: 3030 3020 3321 99BD FA00 ____ ____ ____ 000 3!.½ú.
Schema [['add', 'return x+y', 'int', 'x', 'int', 'y', 'int'], ['hello', 'greet the world', 'str'], ['log_delayed', 'test log', 'Any'], ['log_inside', 'test log', 'Any']]
Discovered add(x: 'int', y: 'int') -> 'int'
Discovered hello() -> 'str'
Discovered log_delayed() -> 'Any'
Discovered log_inside() -> 'Any'
Use help(name=None) for discovered methods
(optionally name to document just that method)
E.g. add(2,3) ~> 5
Info 0 Test 1 2.000000 3
| Test case: | rpc_inline_vtable_demo |
|---|---|
| Outcome: | Passed |
| Duration: | 0.242 sec |
| Failed | None |
None
TX: 0000: 0102 A006 8075 CDC6 1B00 ____ ____ ____ .....uÍÆ.. RX: 0000: 0102 A174 8487 6361 6464 6A72 6574 7572 ..¡t..caddjretur RX: 0010: 6E20 782B 7963 696E 7461 7863 696E 7461 n x+ycintaxcinta RX: 0020: 7963 696E 7483 6568 656C 6C6F 6F67 7265 ycint.ehelloogre RX: 0030: 6574 2074 6865 2077 6F72 6C64 6373 7472 et the worldcstr RX: 0040: 836B 6C6F 675F 6465 6C61 7965 6468 7465 .klog_delayedhte RX: 0050: 7374 206C 6F67 6341 6E79 836A 6C6F 675F st logcAny.jlog_ RX: 0060: 696E 7369 6465 6874 6573 7420 6C6F 6763 insidehtest logc RX: 0070: 416E 794A 98CA DB00 ____ ____ ____ ____ AnyJ.ÊÛ. TX: 0000: 010A A201 8202 030F 7A67 2400 ____ ____ ..¢.....zg$. RX: 0000: 0107 A301 059E 5C14 0100 ____ ____ ____ ..£...\... TX: 0000: 0108 A404 80ED 5634 B800 ____ ____ ____ ..¤..íV4¸. RX: 0000: 1901 2111 5465 7374 2031 2032 2E30 3030 ..!.Test 1 2.000 RX: 0010: 3030 3020 335E 1659 4C00 ____ ____ ____ 000 3^.YL. RX: 0000: 0108 A504 F72B 1839 D400 ____ ____ ____ ..¥.÷+.9Ô. TX: 0000: 0108 A603 8078 2A57 3000 ____ ____ ____ ..¦..x*W0. RX: 0000: 0108 A703 F7B2 767F EA00 ____ ____ ____ ..§.÷²v.ê. RX: 0000: 1901 2011 5465 7374 2031 2032 2E30 3030 .. .Test 1 2.000 RX: 0010: 3030 3020 3321 99BD FA00 ____ ____ ____ 000 3!.½ú. Schema [['add', 'return x+y', 'int', 'x', 'int', 'y', 'int'], ['hello', 'greet the world', 'str'], ['log_delayed', 'test log', 'Any'], ['log_inside', 'test log', 'Any']] Discovered add(x: 'int', y: 'int') -> 'int' Discovered hello() -> 'str' Discovered log_delayed() -> 'Any' Discovered log_inside() -> 'Any' Use help(name=None) for discovered methods (optionally name to document just that method) E.g. add(2,3) ~> 5 Info 0 Test 1 2.000000 3
| Test case: | rpc_debug_demo |
|---|---|
| Outcome: | Passed |
| Duration: | 0.186 sec |
| Failed | None |
None
TX: 0000: 0102 7A06 8017 C5AB FE00 ____ ____ ____ ..z...Å«þ. comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 01 comms-ccf/ccf.hpp:119 debug: dropping 01 as !=0 and !do_output comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 02 comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 06 comms-ccf/fnv1a.hpp:97 info: Checksum OK comms-ccf/cbor.cpp:21 debug: pack embedded 84 comms-ccf/cbor.cpp:21 debug: pack embedded 87 comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cbor.cpp:21 debug: pack embedded 6A comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cbor.cpp:21 debug: pack embedded 61 comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cbor.cpp:21 debug: pack embedded 61 comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cbor.cpp:21 debug: pack embedded 83 comms-ccf/cbor.cpp:21 debug: pack embedded 65 comms-ccf/cbor.cpp:21 debug: pack embedded 6F comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cbor.cpp:21 debug: pack embedded 83 comms-ccf/cbor.cpp:21 debug: pack embedded 6B comms-ccf/cbor.cpp:21 debug: pack embedded 68 comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cbor.cpp:21 debug: pack embedded 83 comms-ccf/cbor.cpp:21 debug: pack embedded 6A comms-ccf/cbor.cpp:21 debug: pack embedded 68 comms-ccf/cbor.cpp:21 debug: pack embedded 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/0/118 char 00 -> hdr? todo 0/1/117 char 7B comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/1/117 char 7B -> hdr? done 0/1/117 char 7B comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/1/117 char 7B -> hdr? todo 0/115/115 char 84 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/115/115 char 84 -> hdr? done 0/115/115 char 84 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/115/115 char 84 -> hdr? done 1/115/115 char 87 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 1/115/115 char 87 -> hdr? done 2/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 2/115/115 char 63 -> hdr? done 3/115/115 char 61 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 3/115/115 char 61 -> hdr? done 4/115/115 char 64 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 4/115/115 char 64 -> hdr? done 5/115/115 char 64 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 5/115/115 char 64 -> hdr? done 6/115/115 char 6A comms-ccf/cobs.cpp:46 debug: op++ hdr? done 6/115/115 char 6A -> hdr? done 7/115/115 char 72 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 7/115/115 char 72 -> hdr? done 8/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 8/115/115 char 65 -> hdr? done 9/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 9/115/115 char 74 -> hdr? done 10/115/115 char 75 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 10/115/115 char 75 -> hdr? done 11/115/115 char 72 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 11/115/115 char 72 -> hdr? done 12/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 12/115/115 char 6E -> hdr? done 13/115/115 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 13/115/115 char 20 -> hdr? done 14/115/115 char 78 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 14/115/115 char 78 -> hdr? done 15/115/115 char 2B comms-ccf/cobs.cpp:46 debug: op++ hdr? done 15/115/115 char 2B -> hdr? done 16/115/115 char 79 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 16/115/115 char 79 -> hdr? done 17/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 17/115/115 char 63 -> hdr? done 18/115/115 char 69 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 18/115/115 char 69 -> hdr? done 19/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 19/115/115 char 6E -> hdr? done 20/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 20/115/115 char 74 -> hdr? done 21/115/115 char 61 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 21/115/115 char 61 -> hdr? done 22/115/115 char 78 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 22/115/115 char 78 -> hdr? done 23/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 23/115/115 char 63 -> hdr? done 24/115/115 char 69 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 24/115/115 char 69 -> hdr? done 25/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 25/115/115 char 6E -> hdr? done 26/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 26/115/115 char 74 -> hdr? done 27/115/115 char 61 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 27/115/115 char 61 -> hdr? done 28/115/115 char 79 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 28/115/115 char 79 -> hdr? done 29/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 29/115/115 char 63 -> hdr? done 30/115/115 char 69 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 30/115/115 char 69 -> hdr? done 31/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 31/115/115 char 6E -> hdr? done 32/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 32/115/115 char 74 -> hdr? done 33/115/115 char 83 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 33/115/115 char 83 -> hdr? done 34/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 34/115/115 char 65 -> hdr? done 35/115/115 char 68 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 35/115/115 char 68 -> hdr? done 36/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 36/115/115 char 65 -> hdr? done 37/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 37/115/115 char 6C -> hdr? done 38/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 38/115/115 char 6C -> hdr? done 39/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 39/115/115 char 6F -> hdr? done 40/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 40/115/115 char 6F -> hdr? done 41/115/115 char 67 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 41/115/115 char 67 -> hdr? done 42/115/115 char 72 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 42/115/115 char 72 -> hdr? done 43/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 43/115/115 char 65 -> hdr? done 44/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 44/115/115 char 65 -> hdr? done 45/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 45/115/115 char 74 -> hdr? done 46/115/115 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 46/115/115 char 20 -> hdr? done 47/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 47/115/115 char 74 -> hdr? done 48/115/115 char 68 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 48/115/115 char 68 -> hdr? done 49/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 49/115/115 char 65 -> hdr? done 50/115/115 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 50/115/115 char 20 -> hdr? done 51/115/115 char 77 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 51/115/115 char 77 -> hdr? done 52/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 52/115/115 char 6F -> hdr? done 53/115/115 char 72 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 53/115/115 char 72 -> hdr? done 54/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 54/115/115 char 6C -> hdr? done 55/115/115 char 64 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 55/115/115 char 64 -> hdr? done 56/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 56/115/115 char 63 -> hdr? done 57/115/115 char 73 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 57/115/115 char 73 -> hdr? done 58/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 58/115/115 char 74 -> hdr? done 59/115/115 char 72 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 59/115/115 char 72 -> hdr? done 60/115/115 char 83 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 60/115/115 char 83 -> hdr? done 61/115/115 char 6B comms-ccf/cobs.cpp:46 debug: op++ hdr? done 61/115/115 char 6B -> hdr? done 62/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 62/115/115 char 6C -> hdr? done 63/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 63/115/115 char 6F -> hdr? done 64/115/115 char 67 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 64/115/115 char 67 -> hdr? done 65/115/115 char 5F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 65/115/115 char 5F -> hdr? done 66/115/115 char 64 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 66/115/115 char 64 -> hdr? done 67/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 67/115/115 char 65 -> hdr? done 68/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 68/115/115 char 6C -> hdr? done 69/115/115 char 61 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 69/115/115 char 61 -> hdr? done 70/115/115 char 79 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 70/115/115 char 79 -> hdr? done 71/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 71/115/115 char 65 -> hdr? done 72/115/115 char 64 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 72/115/115 char 64 -> hdr? done 73/115/115 char 68 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 73/115/115 char 68 -> hdr? done 74/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 74/115/115 char 74 -> hdr? done 75/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 75/115/115 char 65 -> hdr? done 76/115/115 char 73 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 76/115/115 char 73 -> hdr? done 77/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 77/115/115 char 74 -> hdr? done 78/115/115 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 78/115/115 char 20 -> hdr? done 79/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 79/115/115 char 6C -> hdr? done 80/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 80/115/115 char 6F -> hdr? done 81/115/115 char 67 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 81/115/115 char 67 -> hdr? done 82/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 82/115/115 char 63 -> hdr? done 83/115/115 char 41 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 83/115/115 char 41 -> hdr? done 84/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 84/115/115 char 6E -> hdr? done 85/115/115 char 79 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 85/115/115 char 79 -> hdr? done 86/115/115 char 83 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 86/115/115 char 83 -> hdr? done 87/115/115 char 6A comms-ccf/cobs.cpp:46 debug: op++ hdr? done 87/115/115 char 6A -> hdr? done 88/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 88/115/115 char 6C -> hdr? done 89/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 89/115/115 char 6F -> hdr? done 90/115/115 char 67 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 90/115/115 char 67 -> hdr? done 91/115/115 char 5F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 91/115/115 char 5F -> hdr? done 92/115/115 char 69 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 92/115/115 char 69 -> hdr? done 93/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 93/115/115 char 6E -> hdr? done 94/115/115 char 73 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 94/115/115 char 73 -> hdr? done 95/115/115 char 69 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 95/115/115 char 69 -> hdr? done 96/115/115 char 64 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 96/115/115 char 64 -> hdr? done 97/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 97/115/115 char 65 -> hdr? done 98/115/115 char 68 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 98/115/115 char 68 -> hdr? done 99/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 99/115/115 char 74 -> hdr? done 100/115/115 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 100/115/115 char 65 -> hdr? done 101/115/115 char 73 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 101/115/115 char 73 -> hdr? done 102/115/115 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 102/115/115 char 74 -> hdr? done 103/115/115 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 103/115/115 char 20 -> hdr? done 104/115/115 char 6C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 104/115/115 char 6C -> hdr? done 105/115/115 char 6F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 105/115/115 char 6F -> hdr? done 106/115/115 char 67 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 106/115/115 char 67 -> hdr? done 107/115/115 char 63 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 107/115/115 char 63 -> hdr? done 108/115/115 char 41 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 108/115/115 char 41 -> hdr? done 109/115/115 char 6E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 109/115/115 char 6E -> hdr? done 110/115/115 char 79 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 110/115/115 char 79 -> hdr? done 111/115/115 char EC comms-ccf/cobs.cpp:46 debug: op++ hdr? done 111/115/115 char EC -> hdr? done 112/115/115 char AA comms-ccf/cobs.cpp:46 debug: op++ hdr? done 112/115/115 char AA -> hdr? done 113/115/115 char 43 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 113/115/115 char 43 -> hdr? done 114/115/115 char 2E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 114/115/115 char 2E -> hdr? done 0/0/0 char 00 RX: 0000: 0102 7B74 8487 6361 6464 6A72 6574 7572 ..{t..caddjretur RX: 0010: 6E20 782B 7963 696E 7461 7863 696E 7461 n x+ycintaxcinta RX: 0020: 7963 696E 7483 6568 656C 6C6F 6F67 7265 ycint.ehelloogre RX: 0030: 6574 2074 6865 2077 6F72 6C64 6373 7472 et the worldcstr RX: 0040: 836B 6C6F 675F 6465 6C61 7965 6468 7465 .klog_delayedhte RX: 0050: 7374 206C 6F67 6341 6E79 836A 6C6F 675F st logcAny.jlog_ RX: 0060: 696E 7369 6465 6874 6573 7420 6C6F 6763 insidehtest logc RX: 0070: 416E 79EC AA43 2E00 ____ ____ ____ ____ AnyìªC.. TX: 0000: 010A 7C01 8202 0355 74DC 9B00 ____ ____ ..|....UtÜ.. comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 01 comms-ccf/ccf.hpp:119 debug: dropping 01 as !=0 and !do_output comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 0A comms-ccf/fnv1a.hpp:97 info: Checksum OK comms-ccf/rpc.hpp:151 debug: decoding 82 02 03 comms-ccf/cbor.cpp:131 debug: unpack embedded 82->02 comms-ccf/cbor.cpp:131 debug: unpack embedded 02->02 comms-ccf/cbor.cpp:131 debug: unpack embedded 03->03 comms-ccf/rpc.hpp:160 debug: function is 0x402940 comms-ccf/cbor.cpp:21 debug: pack embedded 05 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/0/8 char 00 -> hdr? todo 0/7/7 char 7D comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/7/7 char 7D -> hdr? done 0/7/7 char 7D comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/7/7 char 7D -> hdr? done 1/7/7 char 01 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 1/7/7 char 01 -> hdr? done 2/7/7 char 05 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 2/7/7 char 05 -> hdr? done 3/7/7 char 40 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 3/7/7 char 40 -> hdr? done 4/7/7 char 54 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 4/7/7 char 54 -> hdr? done 5/7/7 char F9 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 5/7/7 char F9 -> hdr? done 6/7/7 char E2 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 6/7/7 char E2 -> hdr? done 0/0/0 char DC RX: 0000: 0108 7D01 0540 54F9 E200 ____ ____ ____ ..}..@Tùâ. TX: 0000: 0108 7E04 808F E11A 9B00 ____ ____ ____ ..~...á... comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 01 comms-ccf/ccf.hpp:119 debug: dropping 01 as !=0 and !do_output comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 08 comms-ccf/fnv1a.hpp:97 info: Checksum OK comms-ccf/rpc.hpp:151 debug: decoding 80 comms-ccf/cbor.cpp:131 debug: unpack embedded 80->00 comms-ccf/rpc.hpp:160 debug: function is 0x403da0 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/24/24 char 01 -> hdr? done 0/24/24 char 01 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/24/24 char 01 -> hdr? done 1/24/24 char 21 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 1/24/24 char 21 -> hdr? done 2/24/24 char 11 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 2/24/24 char 11 -> hdr? done 3/24/24 char 54 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 3/24/24 char 54 -> hdr? done 4/24/24 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 4/24/24 char 65 -> hdr? done 5/24/24 char 73 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 5/24/24 char 73 -> hdr? done 6/24/24 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 6/24/24 char 74 -> hdr? done 7/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 7/24/24 char 20 -> hdr? done 8/24/24 char 31 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 8/24/24 char 31 -> hdr? done 9/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 9/24/24 char 20 -> hdr? done 10/24/24 char 32 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 10/24/24 char 32 -> hdr? done 11/24/24 char 2E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 11/24/24 char 2E -> hdr? done 12/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 12/24/24 char 30 -> hdr? done 13/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 13/24/24 char 30 -> hdr? done 14/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 14/24/24 char 30 -> hdr? done 15/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 15/24/24 char 30 -> hdr? done 16/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 16/24/24 char 30 -> hdr? done 17/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 17/24/24 char 30 -> hdr? done 18/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 18/24/24 char 20 -> hdr? done 19/24/24 char 33 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 19/24/24 char 33 -> hdr? done 20/24/24 char 5E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 20/24/24 char 5E -> hdr? done 21/24/24 char 16 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 21/24/24 char 16 -> hdr? done 22/24/24 char 59 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 22/24/24 char 59 -> hdr? done 23/24/24 char 4C comms-ccf/cobs.cpp:46 debug: op++ hdr? done 23/24/24 char 4C -> hdr? done 0/0/0 char 61 comms-ccf/cbor.cpp:21 debug: pack embedded F7 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/0/8 char 00 -> hdr? todo 0/7/7 char 7F comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/7/7 char 7F -> hdr? done 0/7/7 char 7F comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/7/7 char 7F -> hdr? done 1/7/7 char 04 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 1/7/7 char 04 -> hdr? done 2/7/7 char F7 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 2/7/7 char F7 -> hdr? done 3/7/7 char 41 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 3/7/7 char 41 -> hdr? done 4/7/7 char E5 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 4/7/7 char E5 -> hdr? done 5/7/7 char 32 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 5/7/7 char 32 -> hdr? done 6/7/7 char 8B comms-ccf/cobs.cpp:46 debug: op++ hdr? done 6/7/7 char 8B -> hdr? done 0/0/0 char 31 RX: 0000: 1901 2111 5465 7374 2031 2032 2E30 3030 ..!.Test 1 2.000 RX: 0010: 3030 3020 335E 1659 4C00 ____ ____ ____ 000 3^.YL. RX: 0000: 0108 7F04 F741 E532 8B00 ____ ____ ____ ....÷Aå2.. TX: 0000: 0108 8003 807E 4BF1 6400 ____ ____ ____ .....~Kñd. comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 01 comms-ccf/ccf.hpp:119 debug: dropping 01 as !=0 and !do_output comms-ccf/cobs.cpp:110 debug: runLength == 0 at byte 08 comms-ccf/fnv1a.hpp:97 info: Checksum OK comms-ccf/rpc.hpp:151 debug: decoding 80 comms-ccf/cbor.cpp:131 debug: unpack embedded 80->00 comms-ccf/rpc.hpp:160 debug: function is 0x4038f0 comms-ccf/cbor.cpp:21 debug: pack embedded F7 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/0/8 char 00 -> hdr? todo 0/7/7 char 81 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/7/7 char 81 -> hdr? done 0/7/7 char 81 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/7/7 char 81 -> hdr? done 1/7/7 char 03 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 1/7/7 char 03 -> hdr? done 2/7/7 char F7 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 2/7/7 char F7 -> hdr? done 3/7/7 char 24 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 3/7/7 char 24 -> hdr? done 4/7/7 char 51 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 4/7/7 char 51 -> hdr? done 5/7/7 char 07 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 5/7/7 char 07 -> hdr? done 6/7/7 char EB comms-ccf/cobs.cpp:46 debug: op++ hdr? done 6/7/7 char EB -> hdr? done 0/0/0 char 31 comms-ccf/cobs.cpp:46 debug: op++ hdr? todo 0/24/24 char 01 -> hdr? done 0/24/24 char 01 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 0/24/24 char 01 -> hdr? done 1/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 1/24/24 char 20 -> hdr? done 2/24/24 char 11 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 2/24/24 char 11 -> hdr? done 3/24/24 char 54 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 3/24/24 char 54 -> hdr? done 4/24/24 char 65 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 4/24/24 char 65 -> hdr? done 5/24/24 char 73 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 5/24/24 char 73 -> hdr? done 6/24/24 char 74 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 6/24/24 char 74 -> hdr? done 7/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 7/24/24 char 20 -> hdr? done 8/24/24 char 31 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 8/24/24 char 31 -> hdr? done 9/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 9/24/24 char 20 -> hdr? done 10/24/24 char 32 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 10/24/24 char 32 -> hdr? done 11/24/24 char 2E comms-ccf/cobs.cpp:46 debug: op++ hdr? done 11/24/24 char 2E -> hdr? done 12/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 12/24/24 char 30 -> hdr? done 13/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 13/24/24 char 30 -> hdr? done 14/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 14/24/24 char 30 -> hdr? done 15/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 15/24/24 char 30 -> hdr? done 16/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 16/24/24 char 30 -> hdr? done 17/24/24 char 30 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 17/24/24 char 30 -> hdr? done 18/24/24 char 20 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 18/24/24 char 20 -> hdr? done 19/24/24 char 33 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 19/24/24 char 33 -> hdr? done 20/24/24 char 21 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 20/24/24 char 21 -> hdr? done 21/24/24 char 99 comms-ccf/cobs.cpp:46 debug: op++ hdr? done 21/24/24 char 99 -> hdr? done 22/24/24 char BD comms-ccf/cobs.cpp:46 debug: op++ hdr? done 22/24/24 char BD -> hdr? done 23/24/24 char FA comms-ccf/cobs.cpp:46 debug: op++ hdr? done 23/24/24 char FA -> hdr? done 0/0/0 char 61 RX: 0000: 0108 8103 F724 5107 EB00 ____ ____ ____ ....÷$Q.ë. RX: 0000: 1901 2011 5465 7374 2031 2032 2E30 3030 .. .Test 1 2.000 RX: 0010: 3030 3020 3321 99BD FA00 ____ ____ ____ 000 3!.½ú. Schema [['add', 'return x+y', 'int', 'x', 'int', 'y', 'int'], ['hello', 'greet the world', 'str'], ['log_delayed', 'test log', 'Any'], ['log_inside', 'test log', 'Any']] Discovered add(x: 'int', y: 'int') -> 'int' Discovered hello() -> 'str' Discovered log_delayed() -> 'Any' Discovered log_inside() -> 'Any' Use help(name=None) for discovered methods (optionally name to document just that method) E.g. add(2,3) ~> 5 Info 0 Test 1 2.000000 3
| Test case: | log_deferred_demo |
|---|---|
| Outcome: | Passed |
| Duration: | 0.182 sec |
| Failed | None |
None
RX: 0000: 0201 110B 6465 6275 6720 696E 7420 30C9 ....debug int 0É RX: 0010: 3460 8F00 ____ ____ ____ ____ ____ ____ 4`.. RX: 0000: 1C01 2114 6465 6275 6720 666C 6F61 7420 ..!.debug float RX: 0010: 312E 3030 3030 3030 E5E7 8C35 00__ ____ 1.000000åç.5. RX: 0000: 1501 220D 6465 6275 6720 7374 7220 7477 ..".debug str tw RX: 0010: 6F49 0378 5100 ____ ____ ____ ____ ____ oI.xQ. RX: 0000: 1701 230F 6465 6275 6720 7374 7220 7468 ..#.debug str th RX: 0010: 7265 652E 7DEA 4600 ____ ____ ____ ____ ree.}êF. Debug 0 debug int 0 Info 1 debug float 1.000000 Info 2 debug str two Info 3 debug str three
| Test case: | python_cosimulate_test |
|---|---|
| Outcome: | Passed |
| Duration: | 1.153 sec |
| Failed | None |
None
============================= test session starts ============================== platform linux -- Python 3.13.6, pytest-8.4.1, pluggy-1.6.0 rootdir: /home/runner/work/comms-ccf/comms-ccf plugins: hypothesis-6.136.9 collected 12 items ../../test/cobs_test.py ......... [ 75%] ../../test/fnv1a_test.py ... [100%] ============================== 12 passed in 0.87s ==============================