(type, inValue, skipAny = {})
| 329 | }); |
| 330 | |
| 331 | function testUnixIntegerTypedefMarshalling(type, inValue, skipAny = {}) { |
| 332 | describe(type, function () { |
| 333 | const skip = GIMarshallingTests[`${type}_in`] ? false : 'Only supported on Unix'; |
| 334 | testSimpleMarshalling(type, inValue, 0, 0, { |
| 335 | returnv: {skip: skip || skipAny.skipReturn}, |
| 336 | in: {skip: skip || skipAny.skipIn}, |
| 337 | out: {skip: skip || skipAny.skipOut}, |
| 338 | uninitOut: {skip: skip || skipAny.skipUninitOut}, |
| 339 | inout: {skip: skip || skipAny.skipInOut}, |
| 340 | }); |
| 341 | }); |
| 342 | } |
| 343 | |
| 344 | // https://gitlab.gnome.org/GNOME/gjs/-/issues/673 |
| 345 | testUnixIntegerTypedefMarshalling('dev_t', 1234567890, {skipInOut: true}); |
no test coverage detected