Created
August 15, 2017 00:04
-
-
Save Whateverable/516d327afa00080e4c5fff77ba167220 to your computer and use it in GitHub Desktop.
committable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46ef1b5b48dd5 https://gist.githubusercontent.com/AlexDaniel/1e2c456f006687ea7100a35b2931af41/raw/9aad30ec83728b43b5d1d134a4c0701354e2c8c5/nativehelpers-test.p6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
¦«46ef1b5»: | |
1..24 | |
ok 1 - NativeHelpers::Blob module can be use-d ok | |
ok 2 - The object is-a 'utf8' | |
ok 3 - sizeof Blob | |
ok 4 - carray from blob | |
ok 5 - The object is-a 'NativeCall::Types::CArray' | |
ok 6 - Can´t get size | |
ok 7 - Not managed | |
ok 8 - shares memory | |
ok 9 - c-f-b managed | |
ok 10 - The object is-a 'NativeCall::Types::CArray' | |
ok 11 - Is managed | |
ok 12 - Correct size | |
ok 13 - sizeof CArray | |
ok 14 - The object is-a 'uint8' | |
ok 15 - Elems match | |
ok 16 - Full trip | |
Type check failed for return value; expected NativeCall::Types::Pointer but got Whatever (*) | |
in sub memcpy at /home/bisectable/git/whateverable/data/all-modules/salortiz/NativeHelpers-Blob/lib/NativeHelpers/Blob.pm6 (NativeHelpers::Blob) line 94 | |
in sub blob-from-pointer at /home/bisectable/git/whateverable/data/all-modules/salortiz/NativeHelpers-Blob/lib/NativeHelpers/Blob.pm6 (NativeHelpers::Blob) line 107 | |
in sub blob-from-carray at /home/bisectable/git/whateverable/data/all-modules/salortiz/NativeHelpers-Blob/lib/NativeHelpers/Blob.pm6 (NativeHelpers::Blob) line 121 | |
in block <unit> at /tmp/s_YqBDo8TI line 41 | |
# Looks like you planned 24 tests, but ran 16 «exit code = 255» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment