diff options
Diffstat (limited to 'runtime/poky/qemuarm64/core-image-ptest-json-glib')
3 files changed, 479 insertions, 479 deletions
diff --git a/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log b/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log index cba5dcc4baa..ca7d53328f6 100644 --- a/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log +++ b/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-json-glib.log @@ -1,75 +1,63 @@ START: ptest-runner -2024-02-15T04:33 -Running test: json-glib-1.0/serialize-simple.test -TAP version 13 -# random seed: R02Sea6e0ae3d48a100856c74de5f33ee1d8 -1..1 -# Start of serialize tests -# TestObject: { -# "bar" : true, -# "baz" : "Test" -# } -ok 1 /serialize/gobject -# End of serialize tests -PASS: json-glib-1.0/serialize-simple.test -Running test: json-glib-1.0/reader.test -TAP version 13 -# random seed: R02Scf19f76b6fc158c0e804b7062596035b -1..6 -# Start of reader tests -ok 1 /reader/base-array -ok 2 /reader/base-object -ok 3 /reader/level -# Bug Reference: http://bugzilla.gnome.org/show_bug.cgi?id=758580 -ok 4 /reader/null-value -ok 5 /reader/bom -ok 6 /reader/currrent-node -# End of reader tests -PASS: json-glib-1.0/reader.test -Running test: json-glib-1.0/array.test -TAP version 13 -# random seed: R02S65293fef2ba73e662f86b91c228b6544 -1..4 -# Start of array tests -ok 1 /array/empty-array -ok 2 /array/add-element -ok 3 /array/remove-element -ok 4 /array/foreach-element -# End of array tests -PASS: json-glib-1.0/array.test -Running test: json-glib-1.0/builder.test -TAP version 13 -# random seed: R02Sc9ec6c58c3c5123812319192088544c1 -1..3 -# Start of builder tests -# Builder complex: '{"depth1":[1,{"depth2":[3,[null,false],"after array"],"value2":true}],"object1":{},"value3":null,"value4":42,"":54}' -ok 1 /builder/complex -# Builder empty: '{"a":{}}' -ok 2 /builder/empty -ok 3 /builder/reset -# End of builder tests -PASS: json-glib-1.0/builder.test -Running test: json-glib-1.0/boxed.test +2024-02-16T09:12 +Running test: json-glib-1.0/generator.test TAP version 13 -# random seed: R02S238b5f0fb0a2039351fc6de234a09ec2 -1..2 -# Start of boxed tests -# Registering transform functions -# Serialize: { foo: 42, bar: true } -# TestObject: { -# "blah" : { -# "foo" : 42, -# "bar" : true -# } +# random seed: R02Sd8f1272fd6cc33cfd2d0f2f1e9aadab1 +1..16 +# Start of generator tests +ok 1 /generator/empty-array +ok 2 /generator/empty-object +# checking simple array '[true,false,null,42,"foo"]' (expected: '[true,false,null,42,"foo"]') +ok 3 /generator/simple-array +ok 4 /generator/nested-array +# checking simple object '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}' (expected: '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}') +ok 5 /generator/simple-object +# checking nested object '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}' (expected: '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}') +ok 6 /generator/nested-object +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +ok 7 /generator/decimal-separator +ok 8 /generator/double-stays-double +# test_double_valid: value: '0.00' - string: '1e-08' +ok 9 /generator/double-valid +# checking pretty printing: [] expected: [] +# checking pretty printing: {} expected: {} +# checking pretty printing: [ +# true, +# false, +# null, +# "hello" +# ] expected: [ +# true, +# false, +# null, +# "hello" +# ] +# checking pretty printing: { +# "foo" : 42, +# "bar" : true, +# "baz" : null +# } expected: { +# "foo" : 42, +# "bar" : true, +# "baz" : null # } -ok 1 /boxed/serialize-property -# Deserialize: { foo: 42, bar: true } -ok 2 /boxed/deserialize-property -# End of boxed tests -PASS: json-glib-1.0/boxed.test +ok 10 /generator/pretty +# Start of string tests +ok 11 /generator/string/abc +ok 12 /generator/string/a\177xc +ok 13 /generator/string/a\033xc +ok 14 /generator/string/a\nxc +ok 15 /generator/string/a\\xc +ok 16 /generator/string/Barney B\303\244r +# End of string tests +# End of generator tests +PASS: json-glib-1.0/generator.test Running test: json-glib-1.0/serialize-complex.test TAP version 13 -# random seed: R02Se8261827192f17005d2b394c524eb511 +# random seed: R02S1a8e3645747b8155ccaa82202adc4993 1..1 # Start of serialize tests # TestObject: { @@ -85,9 +73,112 @@ TAP version 13 ok 1 /serialize/gobject-boxed # End of serialize tests PASS: json-glib-1.0/serialize-complex.test +Running test: json-glib-1.0/path.test +TAP version 13 +# random seed: R02S0b6fd705b404ce3facd06d396f1b9186 +1..32 +# Start of path tests +# Start of expressions tests +# Start of valid tests +# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') +ok 1 /path/expressions/valid/1 +# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') +ok 2 /path/expressions/valid/2 +# * All the authors from the every book. ('$.store.book[*].author') +ok 3 /path/expressions/valid/3 +# * All the authors. ('$..author') +ok 4 /path/expressions/valid/4 +# * Everything inside the store. ('$.store.*') +ok 5 /path/expressions/valid/5 +# * All the prices in the store. ('$.store..price') +ok 6 /path/expressions/valid/6 +# * The third book. ('$..book[2]') +ok 7 /path/expressions/valid/7 +# * The last book. ('$..book[-1:]') +ok 8 /path/expressions/valid/8 +# * The first two books. ('$..book[0,1]') +ok 9 /path/expressions/valid/9 +# * The first two books, using a slice. ('$..book[:2]') +ok 10 /path/expressions/valid/10 +# * All the books. ('$['store']['book'][*]') +ok 11 /path/expressions/valid/11 +# * All the members of the bicycle object. ('$.store.bicycle.*') +ok 12 /path/expressions/valid/12 +# * The root node. ('$') +ok 13 /path/expressions/valid/13 +# End of valid tests +# Start of invalid tests +# * INVALID: invalid first character ('/') +ok 14 /path/expressions/invalid/1 +# * INVALID: Invalid character following root ('$ponies') +ok 15 /path/expressions/invalid/2 +# * INVALID: missing member name or wildcard after dot ('$.store.') +ok 16 /path/expressions/invalid/3 +# * INVALID: Malformed slice (missing step) ('$.store.book[0:1:]') +ok 17 /path/expressions/invalid/4 +# * INVALID: Malformed set ('$.store.book[0,1~2]') +ok 18 /path/expressions/invalid/5 +# * INVALID: Malformed array notation ('${'store'}') +ok 19 /path/expressions/invalid/6 +# * INVALID: Malformed slice (invalid separator) ('$.store.book[0~2]') +ok 20 /path/expressions/invalid/7 +# End of invalid tests +# End of expressions tests +# Start of match tests +# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') => +# - result: ["Sayings of the Century"] +# - expected: ["Sayings of the Century"] +ok 21 /path/match/1 +# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') => +# - result: ["Sayings of the Century"] +# - expected: ["Sayings of the Century"] +ok 22 /path/match/2 +# * All the authors from the every book. ('$.store.book[*].author') => +# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +ok 23 /path/match/3 +# * All the authors. ('$..author') => +# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +ok 24 /path/match/4 +# * All the prices in the store. ('$.store..price') => +# - result: ["8.95","12.99","8.99","22.99","19.95"] +# - expected: ["8.95","12.99","8.99","22.99","19.95"] +ok 25 /path/match/5 +# * The third book. ('$..book[2]') => +# - result: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] +# - expected: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] +ok 26 /path/match/6 +# * The last book. ('$..book[-1:]') => +# - result: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +# - expected: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +ok 27 /path/match/7 +# * The first two books. ('$..book[0,1]') => +# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +ok 28 /path/match/8 +# * The first two books, using a slice. ('$..book[:2]') => +# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +ok 29 /path/match/9 +# * All the books. ('$['store']['book'][*]') => +# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +ok 30 /path/match/10 +# * All the members of the bicycle object. ('$.store.bicycle.*') => +# - result: ["red","19.95"] +# - expected: ["red","19.95"] +ok 31 /path/match/11 +# * The root node. ('$') => +# - result: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] +# - expected: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] +ok 32 /path/match/12 +# End of match tests +# End of path tests +PASS: json-glib-1.0/path.test Running test: json-glib-1.0/object.test TAP version 13 -# random seed: R02S0d561338501ccbd5d42d5699c832d652 +# random seed: R02Sb753a03a25bc6d17d7ee6284dd482246 1..9 # Start of object tests ok 1 /object/empty-object @@ -103,7 +194,7 @@ ok 9 /object/empty-member PASS: json-glib-1.0/object.test Running test: json-glib-1.0/invalid.test TAP version 13 -# random seed: R02S3836c68f9e72ddec06d57a3be1af3dd7 +# random seed: R02S97d74307b8a3caaf2a863a5b7ab0970a 1..29 # Start of invalid tests # Start of json tests @@ -187,9 +278,58 @@ ok 29 /invalid/json/trailing-comma-2 # End of json tests # End of invalid tests PASS: json-glib-1.0/invalid.test +Running test: json-glib-1.0/array.test +TAP version 13 +# random seed: R02S7b281df8ca142c2f7176086eb8e1e3de +1..4 +# Start of array tests +ok 1 /array/empty-array +ok 2 /array/add-element +ok 3 /array/remove-element +ok 4 /array/foreach-element +# End of array tests +PASS: json-glib-1.0/array.test +Running test: json-glib-1.0/serialize-simple.test +TAP version 13 +# random seed: R02S40d20fc3f9744c7d8b0d5b7668d22460 +1..1 +# Start of serialize tests +# TestObject: { +# "bar" : true, +# "baz" : "Test" +# } +ok 1 /serialize/gobject +# End of serialize tests +PASS: json-glib-1.0/serialize-simple.test +Running test: json-glib-1.0/builder.test +TAP version 13 +# random seed: R02S84b83e0f13e2307ad663672e14f47fcf +1..3 +# Start of builder tests +# Builder complex: '{"depth1":[1,{"depth2":[3,[null,false],"after array"],"value2":true}],"object1":{},"value3":null,"value4":42,"":54}' +ok 1 /builder/complex +# Builder empty: '{"a":{}}' +ok 2 /builder/empty +ok 3 /builder/reset +# End of builder tests +PASS: json-glib-1.0/builder.test +Running test: json-glib-1.0/reader.test +TAP version 13 +# random seed: R02S8810347872e3d2417df049946caa6c69 +1..6 +# Start of reader tests +ok 1 /reader/base-array +ok 2 /reader/base-object +ok 3 /reader/level +# Bug Reference: http://bugzilla.gnome.org/show_bug.cgi?id=758580 +ok 4 /reader/null-value +ok 5 /reader/bom +ok 6 /reader/currrent-node +# End of reader tests +PASS: json-glib-1.0/reader.test Running test: json-glib-1.0/node.test TAP version 13 -# random seed: R02Sfe3b07ca44396e7755428cbb998870a3 +# random seed: R02S7c3518a6e8be012df2574a6d1b1c0fbe 1..28 # Start of nodes tests ok 1 /nodes/gvalue @@ -238,9 +378,27 @@ ok 28 /nodes/immutable/parent # End of immutable tests # End of nodes tests PASS: json-glib-1.0/node.test +Running test: json-glib-1.0/boxed.test +TAP version 13 +# random seed: R02S99f2ab998a6b9a2f0da1eaef534a06a7 +1..2 +# Start of boxed tests +# Registering transform functions +# Serialize: { foo: 42, bar: true } +# TestObject: { +# "blah" : { +# "foo" : 42, +# "bar" : true +# } +# } +ok 1 /boxed/serialize-property +# Deserialize: { foo: 42, bar: true } +ok 2 /boxed/deserialize-property +# End of boxed tests +PASS: json-glib-1.0/boxed.test Running test: json-glib-1.0/gvariant.test TAP version 13 -# random seed: R02S85da2127192c061110127aa79d3518ab +# random seed: R02Sed0324fb7b9291b432977b53b9dadf38 1..89 # Start of gvariant tests # Start of to-json tests @@ -380,7 +538,7 @@ ok 89 /gvariant/from-json/variant/variant/array PASS: json-glib-1.0/gvariant.test Running test: json-glib-1.0/parser.test TAP version 13 -# random seed: R02S850d819bfba83bc4fd21011f7a2b7121 +# random seed: R02S9e077f058a784812206921fba39044b9 1..15 # Start of parser tests ok 1 /parser/empty-string @@ -449,167 +607,9 @@ ok 15 /parser/mapped/json-error # End of mapped tests # End of parser tests PASS: json-glib-1.0/parser.test -Running test: json-glib-1.0/generator.test -TAP version 13 -# random seed: R02Sa707684db46f59c1242df4c40677b153 -1..16 -# Start of generator tests -ok 1 /generator/empty-array -ok 2 /generator/empty-object -# checking simple array '[true,false,null,42,"foo"]' (expected: '[true,false,null,42,"foo"]') -ok 3 /generator/simple-array -ok 4 /generator/nested-array -# checking simple object '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}' (expected: '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}') -ok 5 /generator/simple-object -# checking nested object '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}' (expected: '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}') -ok 6 /generator/nested-object -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -ok 7 /generator/decimal-separator -ok 8 /generator/double-stays-double -# test_double_valid: value: '0.00' - string: '1e-08' -ok 9 /generator/double-valid -# checking pretty printing: [] expected: [] -# checking pretty printing: {} expected: {} -# checking pretty printing: [ -# true, -# false, -# null, -# "hello" -# ] expected: [ -# true, -# false, -# null, -# "hello" -# ] -# checking pretty printing: { -# "foo" : 42, -# "bar" : true, -# "baz" : null -# } expected: { -# "foo" : 42, -# "bar" : true, -# "baz" : null -# } -ok 10 /generator/pretty -# Start of string tests -ok 11 /generator/string/abc -ok 12 /generator/string/a\177xc -ok 13 /generator/string/a\033xc -ok 14 /generator/string/a\nxc -ok 15 /generator/string/a\\xc -ok 16 /generator/string/Barney B\303\244r -# End of string tests -# End of generator tests -PASS: json-glib-1.0/generator.test -Running test: json-glib-1.0/path.test -TAP version 13 -# random seed: R02Sb7f06eeea3450eeef4f6fb7aace59090 -1..32 -# Start of path tests -# Start of expressions tests -# Start of valid tests -# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') -ok 1 /path/expressions/valid/1 -# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') -ok 2 /path/expressions/valid/2 -# * All the authors from the every book. ('$.store.book[*].author') -ok 3 /path/expressions/valid/3 -# * All the authors. ('$..author') -ok 4 /path/expressions/valid/4 -# * Everything inside the store. ('$.store.*') -ok 5 /path/expressions/valid/5 -# * All the prices in the store. ('$.store..price') -ok 6 /path/expressions/valid/6 -# * The third book. ('$..book[2]') -ok 7 /path/expressions/valid/7 -# * The last book. ('$..book[-1:]') -ok 8 /path/expressions/valid/8 -# * The first two books. ('$..book[0,1]') -ok 9 /path/expressions/valid/9 -# * The first two books, using a slice. ('$..book[:2]') -ok 10 /path/expressions/valid/10 -# * All the books. ('$['store']['book'][*]') -ok 11 /path/expressions/valid/11 -# * All the members of the bicycle object. ('$.store.bicycle.*') -ok 12 /path/expressions/valid/12 -# * The root node. ('$') -ok 13 /path/expressions/valid/13 -# End of valid tests -# Start of invalid tests -# * INVALID: invalid first character ('/') -ok 14 /path/expressions/invalid/1 -# * INVALID: Invalid character following root ('$ponies') -ok 15 /path/expressions/invalid/2 -# * INVALID: missing member name or wildcard after dot ('$.store.') -ok 16 /path/expressions/invalid/3 -# * INVALID: Malformed slice (missing step) ('$.store.book[0:1:]') -ok 17 /path/expressions/invalid/4 -# * INVALID: Malformed set ('$.store.book[0,1~2]') -ok 18 /path/expressions/invalid/5 -# * INVALID: Malformed array notation ('${'store'}') -ok 19 /path/expressions/invalid/6 -# * INVALID: Malformed slice (invalid separator) ('$.store.book[0~2]') -ok 20 /path/expressions/invalid/7 -# End of invalid tests -# End of expressions tests -# Start of match tests -# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') => -# - result: ["Sayings of the Century"] -# - expected: ["Sayings of the Century"] -ok 21 /path/match/1 -# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') => -# - result: ["Sayings of the Century"] -# - expected: ["Sayings of the Century"] -ok 22 /path/match/2 -# * All the authors from the every book. ('$.store.book[*].author') => -# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -ok 23 /path/match/3 -# * All the authors. ('$..author') => -# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -ok 24 /path/match/4 -# * All the prices in the store. ('$.store..price') => -# - result: ["8.95","12.99","8.99","22.99","19.95"] -# - expected: ["8.95","12.99","8.99","22.99","19.95"] -ok 25 /path/match/5 -# * The third book. ('$..book[2]') => -# - result: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] -# - expected: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] -ok 26 /path/match/6 -# * The last book. ('$..book[-1:]') => -# - result: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -# - expected: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -ok 27 /path/match/7 -# * The first two books. ('$..book[0,1]') => -# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -ok 28 /path/match/8 -# * The first two books, using a slice. ('$..book[:2]') => -# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -ok 29 /path/match/9 -# * All the books. ('$['store']['book'][*]') => -# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -ok 30 /path/match/10 -# * All the members of the bicycle object. ('$.store.bicycle.*') => -# - result: ["red","19.95"] -# - expected: ["red","19.95"] -ok 31 /path/match/11 -# * The root node. ('$') => -# - result: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] -# - expected: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] -ok 32 /path/match/12 -# End of match tests -# End of path tests -PASS: json-glib-1.0/path.test Running test: json-glib-1.0/serialize-full.test TAP version 13 -# random seed: R02S49b5d0cc54d8887f8d091b9bf254a701 +# random seed: R02Sa15af852d5d99ff2597679534bdeefbd 1..1 # Start of deserialize tests # *** TestObject *** @@ -620,5 +620,5 @@ TAP version 13 ok 1 /deserialize/json-to-gobject # End of deserialize tests PASS: json-glib-1.0/serialize-full.test -SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=5120 +SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5120 DURATION: 0 diff --git a/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-raw.log b/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-raw.log index f4a78c012e2..5e044db52a1 100644 --- a/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-raw.log +++ b/runtime/poky/qemuarm64/core-image-ptest-json-glib/ptest-raw.log @@ -1,76 +1,64 @@ START: ptest-runner -2024-02-15T04:33 +2024-02-16T09:12 BEGIN: /usr/lib/json-glib/ptest -Running test: json-glib-1.0/serialize-simple.test -TAP version 13 -# random seed: R02Sea6e0ae3d48a100856c74de5f33ee1d8 -1..1 -# Start of serialize tests -# TestObject: { -# "bar" : true, -# "baz" : "Test" -# } -ok 1 /serialize/gobject -# End of serialize tests -PASS: json-glib-1.0/serialize-simple.test -Running test: json-glib-1.0/reader.test -TAP version 13 -# random seed: R02Scf19f76b6fc158c0e804b7062596035b -1..6 -# Start of reader tests -ok 1 /reader/base-array -ok 2 /reader/base-object -ok 3 /reader/level -# Bug Reference: http://bugzilla.gnome.org/show_bug.cgi?id=758580 -ok 4 /reader/null-value -ok 5 /reader/bom -ok 6 /reader/currrent-node -# End of reader tests -PASS: json-glib-1.0/reader.test -Running test: json-glib-1.0/array.test -TAP version 13 -# random seed: R02S65293fef2ba73e662f86b91c228b6544 -1..4 -# Start of array tests -ok 1 /array/empty-array -ok 2 /array/add-element -ok 3 /array/remove-element -ok 4 /array/foreach-element -# End of array tests -PASS: json-glib-1.0/array.test -Running test: json-glib-1.0/builder.test -TAP version 13 -# random seed: R02Sc9ec6c58c3c5123812319192088544c1 -1..3 -# Start of builder tests -# Builder complex: '{"depth1":[1,{"depth2":[3,[null,false],"after array"],"value2":true}],"object1":{},"value3":null,"value4":42,"":54}' -ok 1 /builder/complex -# Builder empty: '{"a":{}}' -ok 2 /builder/empty -ok 3 /builder/reset -# End of builder tests -PASS: json-glib-1.0/builder.test -Running test: json-glib-1.0/boxed.test +Running test: json-glib-1.0/generator.test TAP version 13 -# random seed: R02S238b5f0fb0a2039351fc6de234a09ec2 -1..2 -# Start of boxed tests -# Registering transform functions -# Serialize: { foo: 42, bar: true } -# TestObject: { -# "blah" : { -# "foo" : 42, -# "bar" : true -# } +# random seed: R02Sd8f1272fd6cc33cfd2d0f2f1e9aadab1 +1..16 +# Start of generator tests +ok 1 /generator/empty-array +ok 2 /generator/empty-object +# checking simple array '[true,false,null,42,"foo"]' (expected: '[true,false,null,42,"foo"]') +ok 3 /generator/simple-array +ok 4 /generator/nested-array +# checking simple object '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}' (expected: '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}') +ok 5 /generator/simple-object +# checking nested object '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}' (expected: '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}') +ok 6 /generator/nested-object +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' +ok 7 /generator/decimal-separator +ok 8 /generator/double-stays-double +# test_double_valid: value: '0.00' - string: '1e-08' +ok 9 /generator/double-valid +# checking pretty printing: [] expected: [] +# checking pretty printing: {} expected: {} +# checking pretty printing: [ +# true, +# false, +# null, +# "hello" +# ] expected: [ +# true, +# false, +# null, +# "hello" +# ] +# checking pretty printing: { +# "foo" : 42, +# "bar" : true, +# "baz" : null +# } expected: { +# "foo" : 42, +# "bar" : true, +# "baz" : null # } -ok 1 /boxed/serialize-property -# Deserialize: { foo: 42, bar: true } -ok 2 /boxed/deserialize-property -# End of boxed tests -PASS: json-glib-1.0/boxed.test +ok 10 /generator/pretty +# Start of string tests +ok 11 /generator/string/abc +ok 12 /generator/string/a\177xc +ok 13 /generator/string/a\033xc +ok 14 /generator/string/a\nxc +ok 15 /generator/string/a\\xc +ok 16 /generator/string/Barney B\303\244r +# End of string tests +# End of generator tests +PASS: json-glib-1.0/generator.test Running test: json-glib-1.0/serialize-complex.test TAP version 13 -# random seed: R02Se8261827192f17005d2b394c524eb511 +# random seed: R02S1a8e3645747b8155ccaa82202adc4993 1..1 # Start of serialize tests # TestObject: { @@ -86,9 +74,112 @@ TAP version 13 ok 1 /serialize/gobject-boxed # End of serialize tests PASS: json-glib-1.0/serialize-complex.test +Running test: json-glib-1.0/path.test +TAP version 13 +# random seed: R02S0b6fd705b404ce3facd06d396f1b9186 +1..32 +# Start of path tests +# Start of expressions tests +# Start of valid tests +# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') +ok 1 /path/expressions/valid/1 +# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') +ok 2 /path/expressions/valid/2 +# * All the authors from the every book. ('$.store.book[*].author') +ok 3 /path/expressions/valid/3 +# * All the authors. ('$..author') +ok 4 /path/expressions/valid/4 +# * Everything inside the store. ('$.store.*') +ok 5 /path/expressions/valid/5 +# * All the prices in the store. ('$.store..price') +ok 6 /path/expressions/valid/6 +# * The third book. ('$..book[2]') +ok 7 /path/expressions/valid/7 +# * The last book. ('$..book[-1:]') +ok 8 /path/expressions/valid/8 +# * The first two books. ('$..book[0,1]') +ok 9 /path/expressions/valid/9 +# * The first two books, using a slice. ('$..book[:2]') +ok 10 /path/expressions/valid/10 +# * All the books. ('$['store']['book'][*]') +ok 11 /path/expressions/valid/11 +# * All the members of the bicycle object. ('$.store.bicycle.*') +ok 12 /path/expressions/valid/12 +# * The root node. ('$') +ok 13 /path/expressions/valid/13 +# End of valid tests +# Start of invalid tests +# * INVALID: invalid first character ('/') +ok 14 /path/expressions/invalid/1 +# * INVALID: Invalid character following root ('$ponies') +ok 15 /path/expressions/invalid/2 +# * INVALID: missing member name or wildcard after dot ('$.store.') +ok 16 /path/expressions/invalid/3 +# * INVALID: Malformed slice (missing step) ('$.store.book[0:1:]') +ok 17 /path/expressions/invalid/4 +# * INVALID: Malformed set ('$.store.book[0,1~2]') +ok 18 /path/expressions/invalid/5 +# * INVALID: Malformed array notation ('${'store'}') +ok 19 /path/expressions/invalid/6 +# * INVALID: Malformed slice (invalid separator) ('$.store.book[0~2]') +ok 20 /path/expressions/invalid/7 +# End of invalid tests +# End of expressions tests +# Start of match tests +# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') => +# - result: ["Sayings of the Century"] +# - expected: ["Sayings of the Century"] +ok 21 /path/match/1 +# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') => +# - result: ["Sayings of the Century"] +# - expected: ["Sayings of the Century"] +ok 22 /path/match/2 +# * All the authors from the every book. ('$.store.book[*].author') => +# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +ok 23 /path/match/3 +# * All the authors. ('$..author') => +# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] +ok 24 /path/match/4 +# * All the prices in the store. ('$.store..price') => +# - result: ["8.95","12.99","8.99","22.99","19.95"] +# - expected: ["8.95","12.99","8.99","22.99","19.95"] +ok 25 /path/match/5 +# * The third book. ('$..book[2]') => +# - result: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] +# - expected: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] +ok 26 /path/match/6 +# * The last book. ('$..book[-1:]') => +# - result: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +# - expected: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +ok 27 /path/match/7 +# * The first two books. ('$..book[0,1]') => +# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +ok 28 /path/match/8 +# * The first two books, using a slice. ('$..book[:2]') => +# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] +ok 29 /path/match/9 +# * All the books. ('$['store']['book'][*]') => +# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] +ok 30 /path/match/10 +# * All the members of the bicycle object. ('$.store.bicycle.*') => +# - result: ["red","19.95"] +# - expected: ["red","19.95"] +ok 31 /path/match/11 +# * The root node. ('$') => +# - result: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] +# - expected: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] +ok 32 /path/match/12 +# End of match tests +# End of path tests +PASS: json-glib-1.0/path.test Running test: json-glib-1.0/object.test TAP version 13 -# random seed: R02S0d561338501ccbd5d42d5699c832d652 +# random seed: R02Sb753a03a25bc6d17d7ee6284dd482246 1..9 # Start of object tests ok 1 /object/empty-object @@ -104,7 +195,7 @@ ok 9 /object/empty-member PASS: json-glib-1.0/object.test Running test: json-glib-1.0/invalid.test TAP version 13 -# random seed: R02S3836c68f9e72ddec06d57a3be1af3dd7 +# random seed: R02S97d74307b8a3caaf2a863a5b7ab0970a 1..29 # Start of invalid tests # Start of json tests @@ -188,9 +279,58 @@ ok 29 /invalid/json/trailing-comma-2 # End of json tests # End of invalid tests PASS: json-glib-1.0/invalid.test +Running test: json-glib-1.0/array.test +TAP version 13 +# random seed: R02S7b281df8ca142c2f7176086eb8e1e3de +1..4 +# Start of array tests +ok 1 /array/empty-array +ok 2 /array/add-element +ok 3 /array/remove-element +ok 4 /array/foreach-element +# End of array tests +PASS: json-glib-1.0/array.test +Running test: json-glib-1.0/serialize-simple.test +TAP version 13 +# random seed: R02S40d20fc3f9744c7d8b0d5b7668d22460 +1..1 +# Start of serialize tests +# TestObject: { +# "bar" : true, +# "baz" : "Test" +# } +ok 1 /serialize/gobject +# End of serialize tests +PASS: json-glib-1.0/serialize-simple.test +Running test: json-glib-1.0/builder.test +TAP version 13 +# random seed: R02S84b83e0f13e2307ad663672e14f47fcf +1..3 +# Start of builder tests +# Builder complex: '{"depth1":[1,{"depth2":[3,[null,false],"after array"],"value2":true}],"object1":{},"value3":null,"value4":42,"":54}' +ok 1 /builder/complex +# Builder empty: '{"a":{}}' +ok 2 /builder/empty +ok 3 /builder/reset +# End of builder tests +PASS: json-glib-1.0/builder.test +Running test: json-glib-1.0/reader.test +TAP version 13 +# random seed: R02S8810347872e3d2417df049946caa6c69 +1..6 +# Start of reader tests +ok 1 /reader/base-array +ok 2 /reader/base-object +ok 3 /reader/level +# Bug Reference: http://bugzilla.gnome.org/show_bug.cgi?id=758580 +ok 4 /reader/null-value +ok 5 /reader/bom +ok 6 /reader/currrent-node +# End of reader tests +PASS: json-glib-1.0/reader.test Running test: json-glib-1.0/node.test TAP version 13 -# random seed: R02Sfe3b07ca44396e7755428cbb998870a3 +# random seed: R02S7c3518a6e8be012df2574a6d1b1c0fbe 1..28 # Start of nodes tests ok 1 /nodes/gvalue @@ -239,9 +379,27 @@ ok 28 /nodes/immutable/parent # End of immutable tests # End of nodes tests PASS: json-glib-1.0/node.test +Running test: json-glib-1.0/boxed.test +TAP version 13 +# random seed: R02S99f2ab998a6b9a2f0da1eaef534a06a7 +1..2 +# Start of boxed tests +# Registering transform functions +# Serialize: { foo: 42, bar: true } +# TestObject: { +# "blah" : { +# "foo" : 42, +# "bar" : true +# } +# } +ok 1 /boxed/serialize-property +# Deserialize: { foo: 42, bar: true } +ok 2 /boxed/deserialize-property +# End of boxed tests +PASS: json-glib-1.0/boxed.test Running test: json-glib-1.0/gvariant.test TAP version 13 -# random seed: R02S85da2127192c061110127aa79d3518ab +# random seed: R02Sed0324fb7b9291b432977b53b9dadf38 1..89 # Start of gvariant tests # Start of to-json tests @@ -381,7 +539,7 @@ ok 89 /gvariant/from-json/variant/variant/array PASS: json-glib-1.0/gvariant.test Running test: json-glib-1.0/parser.test TAP version 13 -# random seed: R02S850d819bfba83bc4fd21011f7a2b7121 +# random seed: R02S9e077f058a784812206921fba39044b9 1..15 # Start of parser tests ok 1 /parser/empty-string @@ -450,167 +608,9 @@ ok 15 /parser/mapped/json-error # End of mapped tests # End of parser tests PASS: json-glib-1.0/parser.test -Running test: json-glib-1.0/generator.test -TAP version 13 -# random seed: R02Sa707684db46f59c1242df4c40677b153 -1..16 -# Start of generator tests -ok 1 /generator/empty-array -ok 2 /generator/empty-object -# checking simple array '[true,false,null,42,"foo"]' (expected: '[true,false,null,42,"foo"]') -ok 3 /generator/simple-array -ok 4 /generator/nested-array -# checking simple object '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}' (expected: '{"Bool1":true,"Bool2":false,"Null":null,"Int":42,"":54,"String":"foo"}') -ok 5 /generator/simple-object -# checking nested object '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}' (expected: '{"Image":{"Width":800,"Height":600,"Title":"View from 15th Floor","Thumbnail":{"Url":"http://www.example.com/image/481989943","Height":125,"Width":"100"},"IDs":[116,943,234,38793]}}') -ok 6 /generator/nested-object -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -# test_decimal_separator: value: '3.14' - string: '3.1400000000000001' -ok 7 /generator/decimal-separator -ok 8 /generator/double-stays-double -# test_double_valid: value: '0.00' - string: '1e-08' -ok 9 /generator/double-valid -# checking pretty printing: [] expected: [] -# checking pretty printing: {} expected: {} -# checking pretty printing: [ -# true, -# false, -# null, -# "hello" -# ] expected: [ -# true, -# false, -# null, -# "hello" -# ] -# checking pretty printing: { -# "foo" : 42, -# "bar" : true, -# "baz" : null -# } expected: { -# "foo" : 42, -# "bar" : true, -# "baz" : null -# } -ok 10 /generator/pretty -# Start of string tests -ok 11 /generator/string/abc -ok 12 /generator/string/a\177xc -ok 13 /generator/string/a\033xc -ok 14 /generator/string/a\nxc -ok 15 /generator/string/a\\xc -ok 16 /generator/string/Barney B\303\244r -# End of string tests -# End of generator tests -PASS: json-glib-1.0/generator.test -Running test: json-glib-1.0/path.test -TAP version 13 -# random seed: R02Sb7f06eeea3450eeef4f6fb7aace59090 -1..32 -# Start of path tests -# Start of expressions tests -# Start of valid tests -# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') -ok 1 /path/expressions/valid/1 -# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') -ok 2 /path/expressions/valid/2 -# * All the authors from the every book. ('$.store.book[*].author') -ok 3 /path/expressions/valid/3 -# * All the authors. ('$..author') -ok 4 /path/expressions/valid/4 -# * Everything inside the store. ('$.store.*') -ok 5 /path/expressions/valid/5 -# * All the prices in the store. ('$.store..price') -ok 6 /path/expressions/valid/6 -# * The third book. ('$..book[2]') -ok 7 /path/expressions/valid/7 -# * The last book. ('$..book[-1:]') -ok 8 /path/expressions/valid/8 -# * The first two books. ('$..book[0,1]') -ok 9 /path/expressions/valid/9 -# * The first two books, using a slice. ('$..book[:2]') -ok 10 /path/expressions/valid/10 -# * All the books. ('$['store']['book'][*]') -ok 11 /path/expressions/valid/11 -# * All the members of the bicycle object. ('$.store.bicycle.*') -ok 12 /path/expressions/valid/12 -# * The root node. ('$') -ok 13 /path/expressions/valid/13 -# End of valid tests -# Start of invalid tests -# * INVALID: invalid first character ('/') -ok 14 /path/expressions/invalid/1 -# * INVALID: Invalid character following root ('$ponies') -ok 15 /path/expressions/invalid/2 -# * INVALID: missing member name or wildcard after dot ('$.store.') -ok 16 /path/expressions/invalid/3 -# * INVALID: Malformed slice (missing step) ('$.store.book[0:1:]') -ok 17 /path/expressions/invalid/4 -# * INVALID: Malformed set ('$.store.book[0,1~2]') -ok 18 /path/expressions/invalid/5 -# * INVALID: Malformed array notation ('${'store'}') -ok 19 /path/expressions/invalid/6 -# * INVALID: Malformed slice (invalid separator) ('$.store.book[0~2]') -ok 20 /path/expressions/invalid/7 -# End of invalid tests -# End of expressions tests -# Start of match tests -# * Title of the first book in the store, using objct notation. ('$.store.book[0].title') => -# - result: ["Sayings of the Century"] -# - expected: ["Sayings of the Century"] -ok 21 /path/match/1 -# * Title of the first book in the store, using array notation. ('$['store']['book'][0]['title']') => -# - result: ["Sayings of the Century"] -# - expected: ["Sayings of the Century"] -ok 22 /path/match/2 -# * All the authors from the every book. ('$.store.book[*].author') => -# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -ok 23 /path/match/3 -# * All the authors. ('$..author') => -# - result: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -# - expected: ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] -ok 24 /path/match/4 -# * All the prices in the store. ('$.store..price') => -# - result: ["8.95","12.99","8.99","22.99","19.95"] -# - expected: ["8.95","12.99","8.99","22.99","19.95"] -ok 25 /path/match/5 -# * The third book. ('$..book[2]') => -# - result: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] -# - expected: [{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"}] -ok 26 /path/match/6 -# * The last book. ('$..book[-1:]') => -# - result: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -# - expected: [{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -ok 27 /path/match/7 -# * The first two books. ('$..book[0,1]') => -# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -ok 28 /path/match/8 -# * The first two books, using a slice. ('$..book[:2]') => -# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"}] -ok 29 /path/match/9 -# * All the books. ('$['store']['book'][*]') => -# - result: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -# - expected: [{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}] -ok 30 /path/match/10 -# * All the members of the bicycle object. ('$.store.bicycle.*') => -# - result: ["red","19.95"] -# - expected: ["red","19.95"] -ok 31 /path/match/11 -# * The root node. ('$') => -# - result: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] -# - expected: [{"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":"8.95"},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":"12.99"},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":"8.99"},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":"22.99"}],"bicycle":{"color":"red","price":"19.95"}}}] -ok 32 /path/match/12 -# End of match tests -# End of path tests -PASS: json-glib-1.0/path.test Running test: json-glib-1.0/serialize-full.test TAP version 13 -# random seed: R02S49b5d0cc54d8887f8d091b9bf254a701 +# random seed: R02Sa15af852d5d99ff2597679534bdeefbd 1..1 # Start of deserialize tests # *** TestObject *** @@ -621,9 +621,9 @@ TAP version 13 ok 1 /deserialize/json-to-gobject # End of deserialize tests PASS: json-glib-1.0/serialize-full.test -SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=5120 +SUMMARY: total=14; passed=14; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5120 DURATION: 0 END: /usr/lib/json-glib/ptest -2024-02-15T04:33 +2024-02-16T09:12 STOP: ptest-runner TOTAL: 1 FAIL: 0
\ No newline at end of file diff --git a/runtime/poky/qemuarm64/core-image-ptest-json-glib/testresults.json b/runtime/poky/qemuarm64/core-image-ptest-json-glib/testresults.json index 12a57bdfd27..da9d8c01c81 100644 --- a/runtime/poky/qemuarm64/core-image-ptest-json-glib/testresults.json +++ b/runtime/poky/qemuarm64/core-image-ptest-json-glib/testresults.json @@ -1,5 +1,5 @@ { - "runtime_core-image-ptest-json-glib_qemuarm64_20240215043135": { + "runtime_core-image-ptest-json-glib_qemuarm64_20240216090819": { "configuration": { "DISTRO": "poky", "HOST_DISTRO": "ubuntu-22.04", @@ -8,44 +8,44 @@ "LAYERS": { "meta": { "branch": "master", - "commit": "393da961be2c357a072fe5fa93ca2adf5a904c14", - "commit_count": 73489 + "commit": "5a93a3728e3fb05724d26c688430d36a1f51a396", + "commit_count": 73505 }, "meta-poky": { "branch": "master", - "commit": "393da961be2c357a072fe5fa93ca2adf5a904c14", - "commit_count": 73489 + "commit": "5a93a3728e3fb05724d26c688430d36a1f51a396", + "commit_count": 73505 }, "meta-yocto-bsp": { "branch": "master", - "commit": "393da961be2c357a072fe5fa93ca2adf5a904c14", - "commit_count": 73489 + "commit": "5a93a3728e3fb05724d26c688430d36a1f51a396", + "commit_count": 73505 } }, "MACHINE": "qemuarm64", - "STARTTIME": "20240215043135", + "STARTTIME": "20240216090819", "TESTSERIES": "qemuarm64-ptest-fast", "TEST_TYPE": "runtime" }, "result": { "parselogs.ParseLogsTest.test_get_context": { - "duration": 0.0006403923034667969, + "duration": 0.0006070137023925781, "status": "PASSED" }, "parselogs.ParseLogsTest.test_parselogs": { - "duration": 1.9301056861877441, + "duration": 2.185725450515747, "status": "PASSED" }, "ping.PingTest.test_ping": { - "duration": 0.01345372200012207, + "duration": 0.01711106300354004, "status": "PASSED" }, "ptest.PtestRunnerTest.test_ptestrunner_expectfail": { - "duration": 0.3879117965698242, + "duration": 0.5136637687683105, "status": "PASSED" }, "ptest.PtestRunnerTest.test_ptestrunner_expectsuccess": { - "duration": 0.0005950927734375, + "duration": 0.0003294944763183594, "log": "Cannot run ptests without @expectedFailure as ptests are expected to fail", "status": "SKIPPED" }, @@ -97,7 +97,7 @@ } }, "ssh.SSHTest.test_ssh": { - "duration": 10.980124235153198, + "duration": 11.523809671401978, "status": "PASSED" } } |