davisp/jiffy — Issue #12: make check fails on R15b
Author: benoitc
Created: 2012-01-03 23:24:16+00:00
State: open

make check is failing on R15b :

enoitc:jiffy benoitc$ make check
prove -v test/*.t
test/001-yajl-tests.t ..
# Current time local 2012-01-04 00:22:49
# Using etap version "0.3.4"
1..38
ok 1 - test/cases/array
ok 2 - test/cases/array_close
ok 3 - test/cases/array_open
ok 4 - test/cases/bogus_char
ok 5 - test/cases/codepoints_from_unicode_org
ok 6 - test/cases/deep_arrays
ok 7 - test/cases/difficult_json_c_test_case
ok 8 - test/cases/doubles
ok 9 - test/cases/empty_array
ok 10 - test/cases/empty_string
ok 11 - test/cases/escaped_bulgarian
ok 12 - test/cases/escaped_foobar
ok 13 - test/cases/false
ok 14 - test/cases/false_then_garbage
ok 15 - test/cases/four_byte_utf8
ok 16 - test/cases/integers
ok 17 - test/cases/invalid_utf8
ok 18 - test/cases/isolated_surrogate_marker
ok 19 - test/cases/leading_zero_in_number
ok 20 - test/cases/lonely_minus_sign
ok 21 - test/cases/lonely_number
ok 22 - test/cases/map_close
ok 23 - test/cases/map_open
ok 24 - test/cases/missing_integer_after_decimal_point
ok 25 - test/cases/missing_integer_after_exponent
ok 26 - test/cases/non_utf8_char_in_string
ok 27 - test/cases/null
ok 28 - test/cases/null_then_garbage
ok 29 - test/cases/nulls_and_bools
ok 30 - test/cases/simple
ok 31 - test/cases/string_invalid_escape
ok 32 - test/cases/string_invalid_hex_char
ok 33 - test/cases/string_with_escapes
ok 34 - test/cases/string_with_invalid_newline
ok 35 - test/cases/three_byte_utf8
ok 36 - test/cases/true
ok 37 - test/cases/true_then_garbage
ok 38 - test/cases/unescaped_bulgarian
ok
test/002-literals.t ....
# Current time local 2012-01-04 00:22:49
# Using etap version "0.3.4"
1..6
ok 1 - DEC: true -> true
ok 2 - ENC: true -> true
ok 3 - DEC: false -> false
ok 4 - ENC: false -> false
ok 5 - DEC: null -> null
ok 6 - ENC: null -> null
ok
test/003-numbers.t .....
# Current time local 2012-01-04 00:22:49
# Using etap version "0.3.4"
1..59
ok 1 - Decoded <<"0">>.
ok 2 - Encoded 0
ok 3 - Decoded <<"-0">>.
ok 4 - Encoded 0
ok 5 - Decoded <<"1">>.
ok 6 - Encoded 1
ok 7 - Decoded <<"12">>.
ok 8 - Encoded 12
ok 9 - Decoded <<"-3">>.
ok 10 - Encoded -3
ok 11 - Decoded <<"1234567890123456789012345">>.
ok 12 - Encoded 1234567890123456789012345
ok 13 - Decoded <<"1310050760199">>.
ok 14 - Encoded 1310050760199
ok 15 - Decoded <<"1234567890123456789012345.0">>.
ok 16 - Encoded 1.2345678901234568e24
ok 17 - Decoded <<"1234567890123456789012345.0E3">>.
ok 18 - Encoded 1.2345678901234569e27
not ok 19 - Decoded <<"1234567890123456789012345E2">>.
---
description: "Decoded <<\"1234567890123456789012345E2\">>."
found: 1.2345678901234568e26
wanted: 123456789012345678901234500
...
ok 20 - Encoded 123456789012345678901234500
ok 21 - Decoded <<"0.000000000000000000000000000000000001">>.
ok 22 - Encoded 1.0e-36
ok 23 - Decoded <<"1.0">>.
ok 24 - Encoded 1.0
ok 25 - Decoded <<"0.75">>.
ok 26 - Encoded 0.75
ok 27 - Decoded <<"2.0123456789">>.
ok 28 - Encoded 2.0123456789
ok 29 - Decoded <<"2.4234324E24">>.
ok 30 - Encoded 2.4234324e24
ok 31 - Decoded <<"-3.1416">>.
ok 32 - Encoded -3.1416
ok 33 - Decoded <<"1E4">>.
ok 34 - Encoded 1.0e4
ok 35 - Decoded <<"1.0E+01">>.
ok 36 - Encoded 10.0
ok 37 - Decoded <<"1e1">>.
ok 38 - Encoded 10.0
ok 39 - Decoded <<"3.0E2">>.
ok 40 - Encoded 300.0
ok 41 - Decoded <<"0E3">>.
ok 42 - Encoded 0.0
ok 43 - Decoded <<"1.5E3">>.
ok 44 - Encoded 1.5e3
ok 45 - Decoded <<"2.5E-1">>.
ok 46 - Encoded 0.25
ok 47 - Decoded <<"-0.325E+2">>.
ok 48 - Encoded -32.5
ok 49 - Decoding <<"02">> returns an error.
ok 50 - Decoding <<"-01">> returns an error.
ok 51 - Decoding <<"+12">> returns an error.
ok 52 - Decoding <<"-">> returns an error.
ok 53 - Decoding <<"1.">> returns an error.
ok 54 - Decoding <<".1">> returns an error.
ok 55 - Decoding <<"1.-1">> returns an error.
ok 56 - Decoding <<"1E">> returns an error.
ok 57 - Decoding <<"1-E2">> returns an error.
ok 58 - Decoding <<"2E +3">> returns an error.
ok 59 - Decoding <<"1EA">> returns an error.
Failed 1/59 subtests
test/004-strings.t .....
# Current time local 2012-01-04 00:22:49
# Using etap version "0.3.4"
1..83
ok 1 - Decoded <<"\"\"">>.
ok 2 - Encoded <<>>
ok 3 - Decoded <<"\"0\"">>.
ok 4 - Encoded <<"0">>
ok 5 - Decoded <<"\"foo\"">>.
ok 6 - Encoded <<"foo">>
ok 7 - Decoded <<"\"\\\"foobar\\\"\"">>.
ok 8 - Encoded <<"\"foobar\"">>
ok 9 - Decoded <<"\"\\n\\n\\n\"">>.
ok 10 - Encoded <<"\n\n\n">>
ok 11 - Decoded <<"\"\\\" \\b\\f\\r\\n\\t\\\"\"">>.
ok 12 - Encoded <<"\" \b\f\r\n\t\"">>
ok 13 - Decoded <<"\"foo\\u0005bar\"">>.
ok 14 - Encoded <<102,111,111,5,98,97,114>>
ok 15 - Decoded <<"\"\\uD834\\uDD1E\"">>.
ok 16 - Encoded <<240,157,132,158>>
ok 17 - Decoded <<"\"\\u8CA8\\u5481\\u3002\\u0091\\u0091\"">>.
ok 18 - Encoded <<232,178,168,229,146,129,227,128,130,194,145,194,145>>
ok 19 - Decoding <<"\"foo">> returns an error.
ok 20 - Decoding <<34,0,34>> returns an error.
ok 21 - Decoding <<"\"\\g\"">> returns an error.
ok 22 - Decoding <<"\"\\uFFFF\"">> returns an error.
ok 23 - Decoding <<"\"\\uFFFE\"">> returns an error.
ok 24 - Decoding <<"\"\\uD834foo\\uDD1E\"">> returns an error.
ok 25 - Decoding <<"\"NEIMEN F?RR FAEN!\"">> returns an error.
ok 26 - Invalid utf-8: <<194,129,128>>
ok 27 - Invalid utf-8: <<34,194,129,128,34>>
ok 28 - Invalid utf-8: <<102,111,111,128,98,97,114>>
ok 29 - Invalid utf-8: <<34,102,111,111,128,98,97,114,34>>
ok 30 - Invalid utf-8: <<"?">>
ok 31 - Invalid utf-8: <<"\"?\"">>
ok 32 - Invalid utf-8: <<237,160,129>>
ok 33 - Invalid utf-8: <<34,237,160,129,34>>
ok 34 - Invalid utf-8: <<"?">>
ok 35 - Invalid utf-8: <<"\"?\"">>
ok 36 - Invalid utf-8: <<"?">>
ok 37 - Invalid utf-8: <<"\"?\"">>
ok 38 - Invalid utf-8: <<224,128>>
ok 39 - Invalid utf-8: <<34,224,128,34>>
ok 40 - Invalid utf-8: <<"?">>
ok 41 - Invalid utf-8: <<"\"?\"">>
ok 42 - Invalid utf-8: <<240,128>>
ok 43 - Invalid utf-8: <<34,240,128,34>>
ok 44 - Invalid utf-8: <<240,128,128>>
ok 45 - Invalid utf-8: <<34,240,128,128,34>>
ok 46 - Invalid utf-8: <<"?">>
ok 47 - Invalid utf-8: <<"\"?\"">>
ok 48 - Invalid utf-8: <<248,128>>
ok 49 - Invalid utf-8: <<34,248,128,34>>
ok 50 - Invalid utf-8: <<248,128,128>>
ok 51 - Invalid utf-8: <<34,248,128,128,34>>
ok 52 - Invalid utf-8: <<248,128,128,128>>
ok 53 - Invalid utf-8: <<34,248,128,128,128,34>>
ok 54 - Invalid utf-8: <<"?">>
ok 55 - Invalid utf-8: <<"\"?\"">>
ok 56 - Invalid utf-8: <<252,128>>
ok 57 - Invalid utf-8: <<34,252,128,34>>
ok 58 - Invalid utf-8: <<252,128,128>>
ok 59 - Invalid utf-8: <<34,252,128,128,34>>
ok 60 - Invalid utf-8: <<252,128,128,128>>
ok 61 - Invalid utf-8: <<34,252,128,128,128,34>>
ok 62 - Invalid utf-8: <<252,128,128,128,128>>
ok 63 - Invalid utf-8: <<34,252,128,128,128,128,34>>
ok 64 - Invalid utf-8: <<192,128>>
ok 65 - Invalid utf-8: <<34,192,128,34>>
ok 66 - Invalid utf-8: <<193,128>>
ok 67 - Invalid utf-8: <<34,193,128,34>>
ok 68 - Invalid utf-8: <<224,128,128>>
ok 69 - Invalid utf-8: <<34,224,128,128,34>>
ok 70 - Invalid utf-8: <<224,144,128>>
ok 71 - Invalid utf-8: <<34,224,144,128,34>>
ok 72 - Invalid utf-8: <<240,128,128,128>>
ok 73 - Invalid utf-8: <<34,240,128,128,128,34>>
ok 74 - Invalid utf-8: <<240,136,128,128>>
ok 75 - Invalid utf-8: <<34,240,136,128,128,34>>
ok 76 - Invalid utf-8: <<248,128,128,128,128>>
ok 77 - Invalid utf-8: <<34,248,128,128,128,128,34>>
ok 78 - Invalid utf-8: <<248,132,128,128,128>>
ok 79 - Invalid utf-8: <<34,248,132,128,128,128,34>>
ok 80 - Invalid utf-8: <<252,128,128,128,128,128>>
ok 81 - Invalid utf-8: <<34,252,128,128,128,128,128,34>>
ok 82 - Invalid utf-8: <<252,130,128,128,128,128>>
ok 83 - Invalid utf-8: <<34,252,130,128,128,128,128,34>>
ok
test/005-arrays.t ......
# Current time local 2012-01-04 00:22:49
# Using etap version "0.3.4"
1..18
ok 1 - Decoded <<"[]">>.
ok 2 - Encoded []
ok 3 - Decoded <<"[\t[\n]\r]">>.
ok 4 - Encoded [[]]
ok 5 - Decoded <<"[\t123, \r true\n]">>.
ok 6 - Encoded [123,true]
ok 7 - Decoded <<"[1,\"foo\"]">>.
ok 8 - Encoded [1,<<"foo">>]
ok 9 - Decoded <<"[11993444355.0,1]">>.
ok 10 - Encoded [11993444355.0,1]
ok 11 - Decoded <<"[\"\\u00A1\",\"\\u00FC\"]">>.
ok 12 - Encoded [<<"¡">>,<<"ü">>]
ok 13 - Decoding <<"[">> returns an error.
ok 14 - Decoding <<"]">> returns an error.
ok 15 - Decoding <<"[,]">> returns an error.
ok 16 - Decoding <<"[123">> returns an error.
ok 17 - Decoding <<"[123,]">> returns an error.
ok 18 - Decoding <<"[32 true]">> returns an error.
ok
test/006-maps.t ........
# Current time local 2012-01-04 00:22:50
# Using etap version "0.3.4"
1..15
ok 1 - Decoded <<"{}">>.
ok 2 - Encoded {[]}
ok 3 - Decoded <<"{\"foo\": \"bar\"}">>.
ok 4 - Encoded {[{<<"foo">>,<<"bar">>}]}
ok 5 - Decoded <<"\n\n{\"foo\":\r \"bar\",\n \"baz\"\t: 123 }">>.
ok 6 - Encoded {[{<<"foo">>,<<"bar">>},{<<"baz">>,123}]}
ok 7 - Decoding <<"{">> returns an error.
ok 8 - Decoding <<"{,}">> returns an error.
ok 9 - Decoding <<"{123:true}">> returns an error.
ok 10 - Decoding <<"{false:123}">> returns an error.
ok 11 - Decoding <<"{:\"stuff\"}">> returns an error.
ok 12 - Decoding <<"{\"key\":}">> returns an error.
ok 13 - Decoding <<"{\"key\": 123">> returns an error.
ok 14 - Decoding <<"{\"key\": 123 true">> returns an error.
ok 15 - Decoding <<"{\"key\": 123,}">> returns an error.
ok
test/007-compound.t ....
# Current time local 2012-01-04 00:22:50
# Using etap version "0.3.4"
1..12
ok 1 - Decoded <<"[{}]">>.
ok 2 - Encoded [{[]}]
ok 3 - Decoded <<"{\"foo\":[123]}">>.
ok 4 - Encoded {[{<<"foo">>,"{"}]}
ok 5 - Decoded <<"{\"foo\":{\"bar\":true}}">>.
ok 6 - Encoded {[{<<"foo">>,{[{<<"bar">>,true}]}}]}
ok 7 - Decoded <<"{\"foo\":[],\"bar\":{\"baz\":true},\"alice\":\"bob\"}">>.
ok 8 - Encoded {[{<<"foo">>,[]},
{<<"bar">>,{[{<<"baz">>,true}]}},
{<<"alice">>,<<"bob">>}]}
ok 9 - Decoded <<"[-123,\"foo\",{\"bar\":[]},null]">>.
ok 10 - Encoded [-123,<<"foo">>,{[{<<"bar">>,[]}]},null]
ok 11 - Decoding <<"[{}">> returns an error.
ok 12 - Decoding <<"}]">> returns an error.
ok
test/008-halfword.t ....
# Current time local 2012-01-04 00:22:50
# Using etap version "0.3.4"
ok 1 - 1 =:= 1
ok 2 - 1 == 1
1..2
ok

Test Summary Report
-------------------
test/003-numbers.t (Wstat: 0 Tests: 59 Failed: 1)
Failed test: 19
Files=8, Tests=233, 2 wallclock secs ( 0.11 usr 0.02 sys + 1.54 cusr 0.23 csys = 1.90 CPU)
Result: FAIL
make: *** [etap] Error 1