Created
October 4, 2016 14:13
-
-
Save zoffixznet/601dec2498fc5524a4bbda69a41eaab9 to your computer and use it in GitHub Desktop.
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
zoffix@leliana:~/CPANPRC/rakudo$ 6p t/04-nativecall/06-struct.t | |
t/04-nativecall/06-struct.t .. | |
1..27 | |
ok 1 - getting long | |
ok 2 - getting num | |
ok 3 - getting int8 | |
ok 4 - getting num32 | |
ok 5 - getting CArray and element | |
ok 6 - getting long from C-created struct | |
ok 7 - getting num from C-created struct | |
ok 8 - getting int8 from C-created struct | |
ok 9 - getting num32 from C-created struct | |
ok 10 - C-created array member, elem 1 | |
ok 11 - C-created array member, elem 2 | |
ok 12 - C-created array member, elem 3 | |
ok 13 - field 1 from struct 1 in struct | |
ok 14 - field 2 from struct 1 in struct | |
ok 15 - field 1 from struct 2 in struct | |
ok 16 - field 2 from struct 2 in struct | |
ok 17 - CPointer object in struct | |
ok 18 - first string in struct | |
ok 19 - second string in struct | |
ok 20 - C-side values in struct | |
ok 21 - C-side values in struct struct | |
ok 22 - C-side strict values in struct | |
ok 23 - and the int after is 42 | |
ok 24 - nested first is 101 | |
ok 25 - nested second is 77 | |
ok 26 - struct with inlined structs has correct size | |
1..3 | |
not ok 1 - 'class EmptyCStructTest is repr<CStruct> { };' died | |
# Failed test ''class EmptyCStructTest is repr<CStruct> { };' died' | |
# at t/04-nativecall/06-struct.t line 176 | |
ok 2 - \# SKIP Code did not die, can not check exception | |
ok 3 - \# SKIP Code did not die, can not check exception | |
# Looks like you failed 1 test of 3 | |
not ok 27 - did we throws-like Exception? | |
# Failed test 'did we throws-like Exception?' | |
# at t/04-nativecall/06-struct.t line 176 | |
# Looks like you failed 1 test of 27 | |
Dubious, test returned 1 (wstat 256, 0x100) | |
Failed 1/27 subtests | |
Test Summary Report | |
------------------- | |
t/04-nativecall/06-struct.t (Wstat: 256 Tests: 27 Failed: 1) | |
Failed test: 27 | |
Non-zero exit status: 1 | |
Files=1, Tests=27, 2 wallclock secs ( 0.04 usr 0.00 sys + 1.51 cusr 0.14 csys = 1.69 CPU) | |
Result: FAIL | |
zoffix@leliana:~/CPANPRC/rakudo$ pico t/04-nativecall/06-struct.t | |
zoffix@leliana:~/CPANPRC/rakudo$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment