Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created August 18, 2016 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/9fa7ea127a5dc72a64d763bc7b76cda2 to your computer and use it in GitHub Desktop.
Save zoffixznet/9fa7ea127a5dc72a64d763bc7b76cda2 to your computer and use it in GitHub Desktop.
cpan@perlbuild2:~/CPANPRC/rakudo$ make t/04-nativecall/06-struct.t
rm -f -- perl6
cp -- perl6-m perl6
chmod -- 755 perl6
/home/cpan/perl5/perlbrew/perls/perl-5.24.0/bin/perl t/harness5 --fudge --moar --keep-exit-code --verbosity=1 t/04-nativecall/06-struct.t
t/04-nativecall/06-struct.t .. ^[[A
1..26
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
ok
All tests successful.
Files=1, Tests=26, 1 wallclock secs ( 0.01 usr 0.00 sys + 0.91 cusr 0.03 csys = 0.95 CPU)
Result: PASS
cpan@perlbuild2:~/CPANPRC/rakudo$ make test
/home/cpan/perl5/perlbrew/perls/perl-5.24.0/bin/perl t/harness5 t/01-sanity t/04-nativecall
t/01-sanity/01-literals.t ................ ok
t/01-sanity/02-op-math.t ................. ok
t/01-sanity/03-op-logic.t ................ ok
t/01-sanity/04-op-cmp.t .................. ok
t/01-sanity/05-var.t ..................... ok
t/01-sanity/06-op-inplace.t .............. ok
t/01-sanity/07-op-string.t ............... ok
t/01-sanity/08-var-array.t ............... ok
t/01-sanity/09-end-blocks.t .............. ok
t/01-sanity/10-regex.t ................... ok
t/01-sanity/11-tap.t ..................... ok
t/01-sanity/12-counter.t ................. ok
t/01-sanity/13-equal.t ................... ok
t/01-sanity/14-if.t ...................... ok
t/01-sanity/15-sub.t ..................... ok
t/01-sanity/16-eqv.t ..................... ok
t/01-sanity/17-isa.t ..................... ok
t/01-sanity/18-simple-multisubs.t ........ ok
t/01-sanity/19-say.t ..................... ok
t/01-sanity/20-defined.t ................. ok
t/01-sanity/21-try.t ..................... ok
t/01-sanity/53-transpose.t ............... ok
t/01-sanity/55-use-trace.t ............... ok
t/01-sanity/99-test-basic.t .............. ok
t/04-nativecall/01-argless.t ............. ok
t/04-nativecall/02-simple-args.t ......... ok
t/04-nativecall/03-simple-returns.t ...... ok
t/04-nativecall/04-pointers.t ............ ok
t/04-nativecall/05-arrays.t .............. ok
t/04-nativecall/06-struct.t .............. Failed 10/26 subtests
t/04-nativecall/07-writebarrier.t ........ ok
t/04-nativecall/08-callbacks.t ........... ok
t/04-nativecall/09-nativecast.t .......... ok
t/04-nativecall/10-cglobals.t ............ ok
t/04-nativecall/11-cpp.t ................. ok
t/04-nativecall/12-sizeof.t .............. ok
t/04-nativecall/13-cpp-mangling.t ........ ok
t/04-nativecall/13-union.t ............... ok
t/04-nativecall/14-rw-attrs.t ............ ok
t/04-nativecall/15-rw-args.t ............. ok
t/04-nativecall/16-rt125408.t ............ ok
t/04-nativecall/16-rt125729.t ............ ok
t/04-nativecall/17-libnames.t ............ ok
t/04-nativecall/18-routine-sig-sanity.t .. ok
t/04-nativecall/19-function-pointers.t ... ok
Test Summary Report
-------------------
t/04-nativecall/06-struct.t (Wstat: 11 Tests: 16 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 26 tests but ran 16.
Files=45, Tests=586, 21 wallclock secs ( 0.13 usr 0.02 sys + 18.95 cusr 1.34 csys = 20.44 CPU)
Result: FAIL
cpan@perlbuild2:~/CPANPRC/rakudo$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment