Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@niner
Created November 7, 2017 10:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niner/deda3a8c239c9c982703995a234449ca to your computer and use it in GitHub Desktop.
Save niner/deda3a8c239c9c982703995a234449ca to your computer and use it in GitHub Desktop.
nine@sphinx:~/.zef/store/perl6-msgpack.git/6c0c3228ef6859a6879c482e846c5ea8942f77cf> prove -v -e 'perl6 -Ilib'
t/000-compile.t ........
1..1
ok 1 - MsgPack module can be use-d ok
ok
t/002-version.t ........
1..5
# ${:major(2), :minor(1), :string("2.1.2")}
ok 1 - Version is a four-element hash
ok 2 - Major is an integer
ok 3 - Minor is an integer
ok 4 - Version is a string
ok 5 - Version matches x.y.z
ok
t/100-pack-undef.t .....
1..7
ok 1 - Undefined is packed correctly
ok 2 - Undefined is packed correctly
ok 3 - Undefined is packed correctly
ok 4 - Undefined is packed correctly
ok 5 - Undefined is packed correctly
ok 6 - Undefined is packed correctly
ok 7 - Undefined is packed correctly
ok
t/101-pack-bool.t ......
1..2
ok 1 - Boolean False is packed correctly
ok 2 - Boolean True is packed correctly
ok
t/102-pack-int.t .......
1..19
ok 1 - Positive integer packed correctly
ok 2 - Positive integer packed correctly
ok 3 - Positive integer packed correctly
ok 4 - Positive integer packed correctly
ok 5 - Positive integer packed correctly
ok 6 - Positive integer packed correctly
ok 7 - Positive integer packed correctly
ok 8 - Positive integer packed correctly
# TODO Fix positive integer tests
ok 9 - Negative integer packed correctly
ok 10 - Negative integer packed correctly
ok 11 - Negative integer packed correctly
ok 12 - Negative integer packed correctly
ok 13 - Negative integer packed correctly
ok 14 - Negative integer packed correctly
ok 15 - Negative integer packed correctly
ok 16 - Negative integer packed correctly
ok 17 - Negative integer packed correctly
ok 18 - Negative integer packed correctly
ok 19 - Negative integer packed correctly
# TODO Fix negative integer tests
ok
t/103-pack-float.t .....
1..4
ok 1 - Double packed correcly
ok 2 - Negative double packed correcly
ok 3 - Negative double packed correcly
ok 4 - Double with int value packed as int
ok
t/104-pack-string.t ....
1..5
ok 1 - String packed correctly
ok 2 - String packed correctly v4/v5
ok 3 - String packed correctly
ok 4 - String packed correctly
ok 5 - Test of 2**32 string is too big, just assume it is working
ok
t/105-pack-bin.t .......
1..3
ok 1 - Bin packed correctly
ok 2 - Bin packed correctly
ok 3 - # SKIP TODO fix heap corruption bug
ok
t/106-pack-array.t .....
1..10
ok 1 - Array packed correctly
ok 2 - Array packed correctly
ok 3 - Array packed correctly
ok 4 - Array packed correctly
ok 5 - Array packed correctly
ok 6 - Array packed correctly
ok 7 - Array packed correctly
ok 8 - Array packed correctly
ok 9 - Array packed correctly
ok 10 - Array packed correctly
ok
t/107-pack-hash.t ......
1..3
ok 1 - hash packed correctly
ok 2 - hash packed correctly
ok 3 - hash packed correctly
ok
t/200-unpack-undef.t ...
1..1
Cannot look up attributes in a MsgPack::Native::msgpack_object type object
in method type at /home/nine/.zef/store/perl6-msgpack.git/6c0c3228ef6859a6879c482e846c5ea8942f77cf/lib/MsgPack/Native.pm6 (MsgPack::Native) line 189
in method unpack-object at /home/nine/.zef/store/perl6-msgpack.git/6c0c3228ef6859a6879c482e846c5ea8942f77cf/lib/MsgPack/Unpacker.pm6 (MsgPack::Unpacker) line 42
in method unpack at /home/nine/.zef/store/perl6-msgpack.git/6c0c3228ef6859a6879c482e846c5ea8942f77cf/lib/MsgPack/Unpacker.pm6 (MsgPack::Unpacker) line 26
in sub unpack at /home/nine/.zef/store/perl6-msgpack.git/6c0c3228ef6859a6879c482e846c5ea8942f77cf/lib/MsgPack.pm6 (MsgPack) line 16
in block <unit> at t/200-unpack-undef.t line 8
# Looks like you planned 1 test, but ran 0
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
t/201-unpack-bool.t ....
1..4
ok 1 - Boolean False is unpacked correctly
ok 2 - Boolean False is unpacked correctly
ok 3 - Boolean True is unpacked correctly
ok 4 - Boolean False is unpacked correctly
ok
t/202-unpack-int.t .....
1..40
ok 1 - Positive integer unpacked correctly
ok 2 - Type is correct
ok 3 - Positive integer unpacked correctly
ok 4 - Type is correct
ok 5 - Positive integer unpacked correctly
ok 6 - Type is correct
ok 7 - Positive integer unpacked correclty
ok 8 - Type is correct
ok 9 - Positive integer unpacked correclty
ok 10 - Type is correct
ok 11 - Positive integer unpacked correclty
ok 12 - Type is correct
ok 13 - Positive integer unpacked correclty
ok 14 - Type is correct
ok 15 - Positive integer unpacked correclty
ok 16 - Type is correct
ok 17 - Positive integer unpacked correclty
ok 18 - Type is correct
not ok 19 - Positive integer unpacked correclty # TODO (2**64 - 1) unpacked correctly
# Failed test 'Positive integer unpacked correclty'
# at t/202-unpack-int.t line 48
ok 20 - Type is correct
ok 21 - Negative integer unpacked correctly
ok 22 - Type is correct
ok 23 - Negative integer unpacked correctly
ok 24 - Type is correct
ok 25 - Negative integer unpacked correclty
ok 26 - Type is correct
ok 27 - Negative integer unpacked correclty
ok 28 - Type is correct
ok 29 - Negative integer unpacked correclty
ok 30 - Type is correct
ok 31 - Negative integer unpacked correclty
ok 32 - Type is correct
ok 33 - Negative integer unpacked correclty
ok 34 - Type is correct
ok 35 - Negative integer unpacked correclty
ok 36 - Type is correct
ok 37 - Negative integer unpacked correclty
ok 38 - Type is correct
ok 39 - Negative integer unpacked correclty
ok 40 - Type is correct
ok
t/203-unpack-float.t ...
1..8
ok 1 - Float decoded correctly
ok 2 - Type is correct
ok 3 - Float decoded correctly
ok 4 - Type is correct
ok 5 - Float decoded correctly
ok 6 - Type is correct
ok 7 - Float decoded correctly
ok 8 - Type is correct
ok
t/204-unpack-string.t ..
1..8
ok 1 - String unpacked correctly
ok 2 - Type is correct
ok 3 - String unpacked correctly
ok 4 - Type is correct
ok 5 - String unpacked correctly
ok 6 - Type is correct
ok 7 - String unpacked correctly
ok 8 - Type is correct
ok
t/205-unpack-bin.t .....
1..3
ok 1 - Binary unpacked correctly
ok 2 - Binary unpacked correctly
ok 3 - Binary unpacked correctly
ok
t/206-unpack-array.t ...
1..3
ok 1 - Array unpacked correctly
ok 2 - Array unpacked correctly
ok 3 - Array unpacked correctly
ok
t/207-unpack-hash.t ....
1..3
ok 1 - Hash unpacked correctly
ok 2 - Hash unpacked correctly
ok 3 - Hash unpacked correctly
ok
t/999-author-meta.t ....
1..1
ok 1 - # SKIP Skipping author test
ok
Test Summary Report
-------------------
t/200-unpack-undef.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=19, Tests=129, 6 wallclock secs ( 0.06 usr 0.00 sys + 7.69 cusr 0.48 csys = 8.23 CPU)
Result: FAIL
@azawawi
Copy link

azawawi commented Nov 7, 2017

@niner Please try it again. It is now passing https://travis-ci.org/azawawi/perl6-msgpack/builds/298587622 on Linux/macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment